Building an Image
Building your own image: writing a Dockerfile, running docker build, and naming the result with tags.
Producing your own image instead of running someone else's. You describe the image in a Dockerfile, build it with docker build, and name it with a tag, and those three steps are how any application ends up in a container. It covers what a Dockerfile is, the five instructions most Dockerfiles use, a complete build and run, what a tag really names, and why latest is not the newest image. It leaves out multi-stage builds and publishing to a registry.
Contents
6 cardsnot started