Skip to content

Instantly share code, notes, and snippets.

@jwhitehorn
Last active August 9, 2020 15:45
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 jwhitehorn/6805d2d4c35f4930d760f8cc9a589878 to your computer and use it in GitHub Desktop.
Save jwhitehorn/6805d2d4c35f4930d760f8cc9a589878 to your computer and use it in GitHub Desktop.
docker pull registry
docker run -d -p 5000:5000 \
--restart always \
-e REGISTRY_PROXY_REMOTEURL='https://registry-1.docker.io' \
-v /mnt/simple-storage/registry:/var/lib/registry \
--name registry registry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment