J O S E P H J O S E P H

Docker Images

Images

Build image from a Dockerfile

docker build .

# Options
-t, --tag      # Build the image with a tag
--no-cache     # Build the image without using a cache
--build-arg    # Build the image with a build argument

List local images

docker images

Delete an image

docker rm <image_name>

Remove all unused images

docker image prune

Pull an image from Docker Hub

docker pull <image_name>