-
-
Save funkytaco/7d07bf3d926faa467431 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