docker pull
docker pull <image>[:tag]
Risk: Safe
What it does
Downloads an image from a registry.
When to use it
Before going offline, or to get a newer version.
Example
$ docker pull nginx:1.30-alpineGet nginx 1.30 on Alpine. Pin the tag!
Learn it in: Tags and the latest trap · Official docs