A python tool to easly enum and dump images on a Docker Registry.
git clone git@github.com:Syzik/DockerRegistryGrabber.git
cd DockerRegistryGrabber
python -m pip install -r requirements.txt
python drg.py -h
usage: drg.py [-h] [-p port] [-U USERNAME] [-P PASSWORD] [--dump DOCKERNAME | --list | --dump_all] url
positional arguments:
url URL
options:
-h, --help show this help message and exit
-p port port to use (default : 5000)
--dump DOCKERNAME DockerName
--list
--dump_all
Authentication:
-U USERNAME Username
-P PASSWORD Password
python drg.py http://127.0.0.1 --list
python drg.py http://127.0.0.1 --dump my-ubuntu
python drg.py http://127.0.0.1 --dump_all
python drg.py https://127.0.0.1 -U 'testuser' -P 'testpassword' --list
python drg.py https://127.0.0.1 -U 'testuser' -P 'testpassword' --dump my-ubuntu
python drg.py https://127.0.0.1 -U 'testuser' -P 'testpassword' --dump_all