From 817c26ccea58562bfb24461524b02ba64af2589c Mon Sep 17 00:00:00 2001 From: Wenkai Yin Date: Thu, 30 Jun 2016 17:27:37 +0800 Subject: [PATCH] update --- docs/user_guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user_guide.md b/docs/user_guide.md index 99256caae..084da17c3 100644 --- a/docs/user_guide.md +++ b/docs/user_guide.md @@ -163,10 +163,10 @@ Run the command on the host which harbor is deployed on. ```sh $ docker-compose stop -$ docker run -it --name gc --rm -v /harbor_deploy_path/harbor/Deploy/config/registry/:/etc/registry/ --volumes-from deploy_registry_1 registry:2.4.0 garbage-collect [--dry-run] /etc/registry/config.yml +$ docker run -it --name gc --rm --volumes-from deploy_registry_1 registry:2.4.0 garbage-collect [--dry-run] /etc/registry/config.yml $ docker-compose start ``` -Replace "/harbor_deploy_path" with path where your Harbor is deployed. -Option "--dry-run" will print the progress without removing any data. + +Option "--dry-run" will print the progress without removing any data. About the details of GC, please see [GC](https://github.com/docker/distribution/blob/master/docs/garbage-collection.md). \ No newline at end of file