Skip to main content

Pulling images

Similar to pulling images with docker pull, the policy CLI allows you to pull an image from a policy registry (like ghcr.io) to your local machine:

policy pull <registry>/<organization-name>/<repository-name>:<tag>

Example

$ policy pull ghcr.io/ogazitt/peoplefinder:1.0.0

Pulling.
ref: ghcr.io/ogazitt/peoplefinder:1.0.0

Pulled ref [ghcr.io/ogazitt/peoplefinder:1.0.0].
digest: sha256:84dbd4e3b5572dd2f23c3c987c89443fdcb57af87d714ea296fc552192fb17e9