August 2018
Intermediate to advanced
352 pages
12h 30m
English
Before we begin, we need a Dockerfile with build instructions. To make one, we need to go through the following steps:
$ mkdir sample_image
$ cd sample_image
$ cat Dockerfile
# Use ubuntu as the base image
FROM ubuntu
# Add author's name
LABEL maintainer="Jeeva S. Chelladhurai"
# Add the command to run at the start of container
CMD date
Read now
Unlock full access