This repository was archived by the owner on Sep 22, 2020. It is now read-only.
Description the run command doesnt work in my environment.
[marcel@srv ~]$ docker run --rm -it elbb/registry-cleanup -address http://localhost:5000
2020/06/14 12:49:57 registry.ping url=http://localhost:5000/v2/
2020/06/14 12:49:57 Error connecting to server. Check arguments.
2020/06/14 12:49:57 Error response Get http://localhost:5000/v2/: dial tcp 127.0.0.1:5000: connect: connection refused
my registry runs in a bridged network elbb-dev in a container called registry and has port config 5000:5000
What works for me is either:
[marcel@srv ~]$ docker run --rm --network host -it elbb/registry-cleanup -address http://localhost:5000
2020/06/14 12:50:14 registry.ping url=http://localhost:5000/v2/
2020/06/14 12:50:14 registry.repositories url=http://localhost:5000/v2/_catalog
? Images [Use arrows to move, enter to select, type to filter]
> [ ] elbb/bb-gitversion
[ ] Exit
or
[marcel@srv ~]$ docker run --rm --network elbb-dev -it elbb/registry-cleanup -address http://registry:5000
2020/06/14 12:55:19 registry.ping url=http://registry:5000/v2/
2020/06/14 12:55:19 registry.repositories url=http://registry:5000/v2/_catalog
? Images [Use arrows to move, enter to select, type to filter]
> [ ] elbb/bb-gitversion
[ ] Exit
Reactions are currently unavailable
the run command doesnt work in my environment.
my registry runs in a bridged network
elbb-devin a container calledregistryand has port config5000:5000What works for me is either:
or