From 5cda401b1271216f723c704a32d40f63600229bb Mon Sep 17 00:00:00 2001 From: Andrey Pohilko Date: Sun, 16 Oct 2016 14:05:41 +0600 Subject: [PATCH] changed description of notes --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fa58477..9c5a8c4 100644 --- a/README.md +++ b/README.md @@ -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): ```