From 976132519415cb8b79d7760f9a4c898ac7e0aea4 Mon Sep 17 00:00:00 2001 From: Adesoji Alu Date: Tue, 20 Aug 2024 23:50:00 +0100 Subject: [PATCH] Create step3tostep7.txt These are the steps from 3 to steps 7 in the tutorial named Docker for Data Scientist --- Tutorials/step3tostep7.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Tutorials/step3tostep7.txt diff --git a/Tutorials/step3tostep7.txt b/Tutorials/step3tostep7.txt new file mode 100644 index 000000000..1c1721e8a --- /dev/null +++ b/Tutorials/step3tostep7.txt @@ -0,0 +1,10 @@ +docker build -t data_science_image . +docker run -it data_science_image +docker build -t myimage:1.0 +python script_1.py +docker exec -it python /path/to/code_1.py +docker login +docker tag data_science_image collabnix12/data_science_image:v1.0 +docker push collabnix12/data_science_image:v1.0 +docker pull collabnix12/data_science_image:v1.0 +docker run -it collabnix12/data_science_image:v1.0