Skip to content

Instantly share code, notes, and snippets.

@curx
Created December 30, 2018 18:41
Show Gist options
  • Select an option

  • Save curx/c190b7b6b9ea76f5d7ad46f57d008a01 to your computer and use it in GitHub Desktop.

Select an option

Save curx/c190b7b6b9ea76f5d7ad46f57d008a01 to your computer and use it in GitHub Desktop.
rancher-service-registry.yaml
# RancherOS
# (docker) container registry as service
registry:
restart: always
image: registry:latest
ports:
- "5000:5000"
volumes:
- /opt/registry-data:/var/lib/registry:rw
environment:
- REGISTRY_LOG_LEVEL=info
- REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/var/lib/registry
- REGISTRY_STORAGE_DELETE_ENABLED=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment