• A container starts from an image.
    An image is a read-only template that holds the application and everything it needs to run.

    The command docker build turns a Dockerfile into an image, and the command docker run starts a container from this image

    Figure 1 - From the Dockerfile to the Container

    You describe an image in a text file named Dockerfile.
    To build the image from this file, you run docker build:

    docker build -t inventory:1.0 .

    In the command docker build -t inventory:1.0 . the option -t gives the name and the tag of the image, and the dot is the directory of the Dockerfile

    Figure 2 - The Parts of docker build

    docker images lists the images of your server.
    In the lab, display the Dockerfile, build the image inventory:1.0, and list the images to get the flag.

    Answer the question below

    Enter the flag you obtained.