Hi,
I have a private Docker Registry installed on a Redhat 7 OS and I try to perform a Garbage Collection.
Following the instructions as described in the documentation page: https://docs.docker.com/registry/garbage-collection/#how-garbage-collection-works.
When I execute the command line:
docker exec -it testregistry_registry_1 registry garbage-collect --dry-run /root/bin/config.yml
I get:
configuration error: open /root/bin/config.yml: no such file or directory
**Usage: **
** registry garbage-collect [flags]**
Flags:
** -d, --dry-run=false: do everything except remove the blobs**
** -h, --help=false: help for garbage-collect**
Additional help topics:
I am under the folder /root/bin where config.yml file is present.
Does anyone has an idea about how to fix that please?