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): ```