1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

Merge pull request #214 from RichardScothern/mirror-delete

Add note about configuring a registry cache with delete enabled
This commit is contained in:
Joao Fernandes
2016-10-17 15:38:20 -07:00
committed by GitHub

View File

@@ -62,6 +62,8 @@ In order to access private images on the Docker Hub, a username and password can
> :warn: if you specify a username and password, it's very important to understand that private resources that this user has access to on the Hub will be made available on your mirror. It's thus paramount that you secure your mirror by implementing authentication if you expect these resources to stay private!
> :warn: in order for the scheduler to clean up old entries, delete must be enabled in the registry configuration. See the [Registry Configuration Reference](configuration.md) for more details.
### Configuring the Docker daemon
You will need to pass the `--registry-mirror` option to your Docker daemon on startup: