Pulling Images

Learn to pull Docker images from repositories.

A cleanly installed Docker host does not have any images in its local repository.

The local image repository on a Linux-based Docker host is usually located at /var/lib/docker/<storage-driver>. On Windows-based Docker hosts, this is C:\ProgramData\docker\windowsfilter. If you’re using Docker on your Mac or PC with Docker Desktop, everything runs inside of a VM.

You can use the following command to check if your Docker host has any images in its local repository.

Get hands-on with 1200+ tech skills courses.