changed description of notes
This commit is contained in:
@@ -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
|
garbage collection. So, make sure you run something like below
|
||||||
(or put them in your crontab):
|
(or put them in your crontab):
|
||||||
```
|
```
|
||||||
docker stop registry:2
|
cd [path-where-your-docker-compose.yml]
|
||||||
docker-compose -f [path_to_your_docker_compose_file] run \
|
docker-compose stop registry
|
||||||
|
docker-compose run \
|
||||||
registry bin/registry garbage-collect \
|
registry bin/registry garbage-collect \
|
||||||
/etc/docker/registry/config.yml
|
/etc/docker/registry/config.yml
|
||||||
docker start registry:2
|
docker-compose up -d registry
|
||||||
```
|
```
|
||||||
or (if you are not using docker-compose):
|
or (if you are not using docker-compose):
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user