FahamLah

Commands

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-alpine

Get nginx 1.30 on Alpine. Pin the tag!