This document provides instructions to copy a zip file containing Dockerfile code to a server, extract the files, and build and run 3 Docker images using the Dockerfiles. It first copies the zip file to the server, extracts the files, then builds and runs Docker images named printer:v1, printer:v2, and printer:v3 using the Dockerfiles and testing the output of each run.
This document provides instructions to copy a zip file containing Dockerfile code to a server, extract the files, and build and run 3 Docker images using the Dockerfiles. It first copies the zip file to the server, extracts the files, then builds and runs Docker images named printer:v1, printer:v2, and printer:v3 using the Dockerfiles and testing the output of each run.
This document provides instructions to copy a zip file containing Dockerfile code to a server, extract the files, and build and run 3 Docker images using the Dockerfiles. It first copies the zip file to the server, extracts the files, then builds and runs Docker images named printer:v1, printer:v2, and printer:v3 using the Dockerfiles and testing the output of each run.
cat entry/Dockerfile docker build -t printer:v2 entry/ docker images docker run printer:v2 docker run printer:v2 hello clear ls
# Build & Run Third Dockerfile
cat entrycmd/Dockerfile docker build -t printer:v3 entrycmd/ docker run printer:v3 docker run printer:v3 hi docker run printer:v3 hello world docker run printer:v3