Created
July 14, 2015 01:49
-
-
Save anoochit/c0a2642558fe7f76e175 to your computer and use it in GitHub Desktop.
docker registry 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
registry: | |
restart: always | |
image: registry:2 | |
ports: | |
- 5000:5000 | |
environment: | |
REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /var/lib/registry | |
volumes: | |
- ./data:/var/lib/registry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment