Pulling Images

Learn to pull Docker images from repositories.

Pull the image from Docker Hub

A clean Docker installation has an empty local repository.

Local repository is jargon for an area on our local machine where Docker stores images for more convenient access. We sometimes call it the image cache, and on Linux it’s usually located in /var/lib/docker/<storage-driver>. However, it will be inside the Docker VM if we’re using Docker Desktop.

Run the following command to inspect the contents of local repository.

Get hands-on with 1200+ tech skills courses.