Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sfxworks
Created September 3, 2021 01:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sfxworks/4ed0a8327fecfbac36138977bdabb988 to your computer and use it in GitHub Desktop.
Save sfxworks/4ed0a8327fecfbac36138977bdabb988 to your computer and use it in GitHub Desktop.
Registry
podman run --name registry \
-p 5000:5000 \
-v /mnt/registry:/var/lib/registry:z \
-v /registry:/certs:z \
-e "REGISTRY_HTTP_TLS_CERTIFICATE=/certs/registry.crt" \
-e "REGISTRY_HTTP_TLS_KEY=/certs/registry.key" \
-d \
docker.io/library/registry:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment