Defining Our First Custom Image
Explore the process of building your first custom Docker image for a Rails application. Understand how Docker interprets Dockerfile instructions, manages intermediate images, and how to list and tag images locally for efficient container deployment.
We'll cover the following...
We'll cover the following...
Build image
The process of generating an image from a Dockerfile is called building an image. We do that with the docker build command, which has the following format:
$ docker build [options] path/to/build/directory
If we are in the directory containing our Dockerfile and project file, we can use the following command:
$ docker ...