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 the Aserto Policy Registry, or ghcr.io) to your local machine:

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

Example

$ policy pull ogazitt/peoplefinder:1.0.0

Pulling.
ref: ogazitt/peoplefinder:1.0.0

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