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 apcr or opcr.io) to your local machine:

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

Example#

$ policy pull omrigazitt1/peoplefinder:1.0.0
Pulling.ref: omrigazitt1/peoplefinder:1.0.0
Pulled ref [registry.prod.aserto.com/omrigazitt1/peoplefinder:1.0.0].digest: sha256:84dbd4e3b5572dd2f23c3c987c89443fdcb57af87d714ea296fc552192fb17e9