Docker CLI: Docker Images

Learn useful Docker CLI commands related to Docker Images.

Docker images

Build an image from a Dockerfile

docker image build -t <image_name> .

Assuming a Dockerfile is in the current directory:

docker image build
...

Get hands-on with 1400+ tech skills courses.