codegurukool.com · Free coding tutorials & online compiler

Home › Docker Tutorial › Working with images

Working with images

Pull, list and remove images.

docker pull downloads an image. The part after the colon is the tag (usually a version). Without a tag Docker uses latest, which can change over time, so pin a version in real projects. docker images lists local images and docker rmi removes one.

Example code

docker pull nginx:1.27
docker images

Run this code in the online editor

← Images, containers and registriesRun containers: docker run →