concept path in category docker

appears as: paths, path, path
Learn Docker in a Month of Lunches

This is an excerpt from Manning's book Learn Docker in a Month of Lunches.

The full output shows lots of low-level information, including the paths of the container’s virtual filesystem, the command running inside the container, and the virtual Docker network the container is connected to--this can all be useful if you’re tracking down a problem with your application. It comes as a large chunk of JSON, which is great for automating with scripts, but not so good for a code listing in a book, so I’ve just shown the first few lines.

# browse to the root path, which has folders for source code and Dockerfiles:
 cd ./ch08/exercises/numbers
 
 # build the image using the -f flag to specify the path to the Dockerfile:
 docker image build -t diamol/ch08-numbers-api:v2 -f ./numbers-api/Dockerfile.v2 .