April 2018
Intermediate to advanced
374 pages
8h 35m
English
We use the same docker build command to create the container:
docker build .
You should see output that looks something like the following:
Sending build context to Docker daemon 197.6kBStep 1/11 : FROM alpine ---> 76da55c8019dStep 2/11 : RUN apk update ---> Using cache ---> b44cd5d0ecaa
As you saw with the Python-based example, every step in the Dockerfile is reflected with output showing you what happened as Docker was building the container image based on your instructions (the Dockerfile):
Step 9/11 : COPY . . ---> 6851a9088ce3Removing intermediate container 9fa9b8b9d463Step 10/11 : ENV DEBUG kfd-nodejs:* ---> Running in 663a2cd5f31f ---> 30c3b45c4023Removing intermediate container 663a2cd5f31fStep 11/11 : CMD npm ...
Read now
Unlock full access