Skip to content

Instantly share code, notes, and snippets.

@alexprivalov
Created March 9, 2018 18:34
Show Gist options
  • Save alexprivalov/5c1c2c57cd0b33feecf32385a414fdf8 to your computer and use it in GitHub Desktop.
Save alexprivalov/5c1c2c57cd0b33feecf32385a414fdf8 to your computer and use it in GitHub Desktop.
docker run -d -p 5000:5000 --restart=always --name registry -v /docker_registry:/var/lib/registry -v /docker_registry/certs:/certs -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/fullchain.pem -e REGISTRY_HTTP_TLS_KEY=/certs/privkey.pem registry:2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment