August 2018
Intermediate to advanced
352 pages
12h 30m
English
The format for the Dockerfile is as follows:
INSTRUCTION arguments
Generally, instructions are given in uppercase, but they are not case-sensitive. They are evaluated in order. The # code phrase in the beginning is treated like a comment.
Let's take a look at the different types of instruction:
FROM <image>
Alternatively, consider the following tag:
FROM <images>:<tag>
There can be more than one FROM instruction in one Dockerfile to create multiple images.
If only the image names, such as fedora and Ubuntu, are given, then the images will be downloaded ...
Read now
Unlock full access