1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 23:35:24 +02:00

dockdiver: add page (#15997)

* dockdiver: add page

* Update dockdiver.md

* Update dockdiver.md

perioaad

* Update pages/common/dockdiver.md

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* Update pages/common/dockdiver.md

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
Machiavelli 2025-03-23 20:12:05 +02:00 committed by GitHub
parent 476c832db2
commit 5e7ba9b30b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
pages/common/dockdiver.md Normal file
View file

@ -0,0 +1,28 @@
# dockdiver
> A tool for interacting with Docker registries, including listing and dumping repositories.
> More information: <https://github.com/MachiavelliII/dockdiver>.
- List all repositories in a Docker registry:
`dockdiver -url {{http://target}} -list`
- Dump a specific repository to the default output directory (docker_dump):
`dockdiver -url {{http://target}} -dump {{repository_name}}`
- Dump all repositories with basic authentication:
`dockdiver -url {{http://example.com}} -dump-all -username {{username}} -password {{password}}`
- Dump a repository with a custom port and rate limit:
`dockdiver -url http://example.com -dump {{repository_name}} -port {{port}} -rate {{requests_per_second}} -dir {{path/to/output_directory}}`
- Dump all repositories with bearer token for authorization:
`dockdiver -url {{http://example.com}} -dump-all -bearer {{bearer_token}}`
- Add custom headers as JSON (e.g., '{"X-Custom": "Value"}'):
`dockdiver -url {{http://example.com}} -list -headers {{'{"X-Custom": "Value"}'}}`