changed description of notes

This commit is contained in:
Andrey Pohilko
2016-10-16 14:05:41 +06:00
parent 3cfc9b145c
commit 5cda401b12

View File

@@ -68,11 +68,12 @@ Delete all tags for all images (do you really want to do it?):
garbage collection. So, make sure you run something like below
(or put them in your crontab):
```
docker stop registry:2
docker-compose -f [path_to_your_docker_compose_file] run \
cd [path-where-your-docker-compose.yml]
docker-compose stop registry
docker-compose run \
registry bin/registry garbage-collect \
/etc/docker/registry/config.yml
docker start registry:2
docker-compose up -d registry
```
or (if you are not using docker-compose):
```