November 2017
Intermediate to advanced
298 pages
7h 10m
English
Now that we went over the whole build configuration, we can create our image and see what we just made:
$ docker build -t web_server .Sending build context to Docker daemon 17.41kBStep 1/6 : FROM nginx:latest ---> b8efb18f159bStep 2/6 : RUN apt-get update -q && apt-get dist-upgrade -yq ---> Running in 5cd9ae3712daGet:1 http://nginx.org/packages/mainline/debian stretch InRelease [2854 B]Get:2 http://security.debian.org stretch/updates InRelease [62.9 kB]Get:3 http://nginx.org/packages/mainline/debian stretch/nginx amd64 Packages [11.1 kB]Get:5 http://security.debian.org stretch/updates/main amd64 Packages [156 kB]Ign:4 http://cdn-fastly.deb.debian.org/debian stretch InReleaseGet:6 http://cdn-fastly.deb.debian.org/debian ...
Read now
Unlock full access