We will use the docker build command to create the container. In a Terminal window, change into the directory with the Dockerfile and run the following command:
docker build .
You should see output that looks something like the following:
Sending build context to Docker daemon 107kBStep 1/9 : FROM alpine ---> 76da55c8019dStep 2/9 : RUN apk update ---> Running in f72d5991a7cdfetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gzfetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gzv3.6.2-130-gfde2d8ebb8 [http://dl-cdn.alpinelinux.org/alpine/v3.6/main]v3.6.2-125-g93038b573e [http://dl-cdn.alpinelinux.org/alpine/v3.6/community]OK: 8441 distinct packages available ---> b44cd5d0ecaa ...