2025-03-23 20:12:05 +02:00
|
|
|
# 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:
|
|
|
|
|
2025-05-12 16:44:22 +03:00
|
|
|
`dockdiver -url {{https://example.com}} -list`
|
2025-03-23 20:12:05 +02:00
|
|
|
|
|
|
|
- Dump a specific repository to the default output directory (docker_dump):
|
|
|
|
|
2025-05-12 16:44:22 +03:00
|
|
|
`dockdiver -url {{https://example.com}} -dump {{repository_name}}`
|
2025-03-23 20:12:05 +02:00
|
|
|
|
|
|
|
- Dump all repositories with basic authentication:
|
|
|
|
|
2025-05-12 16:44:22 +03:00
|
|
|
`dockdiver -url {{https://example.com}} -dump-all -username {{username}} -password {{password}}`
|
2025-03-23 20:12:05 +02:00
|
|
|
|
2025-05-12 16:44:22 +03:00
|
|
|
- Dump a repository with a rate limit and a custom port (the default port is `5000`):
|
2025-03-23 20:12:05 +02:00
|
|
|
|
2025-05-12 16:44:22 +03:00
|
|
|
`dockdiver -url {{https://example.com}} -dump {{repository_name}} -port {{port}} -rate {{requests_per_second}} -dir {{path/to/output_directory}}`
|
2025-03-23 20:12:05 +02:00
|
|
|
|
|
|
|
- Dump all repositories with bearer token for authorization:
|
|
|
|
|
2025-05-12 16:44:22 +03:00
|
|
|
`dockdiver -url {{https://example.com}} -dump-all -bearer {{bearer_token}}`
|
2025-03-23 20:12:05 +02:00
|
|
|
|
|
|
|
- Add custom headers as JSON (e.g., '{"X-Custom": "Value"}'):
|
|
|
|
|
2025-05-12 16:44:22 +03:00
|
|
|
`dockdiver -url {{https://example.com}} -list -headers {{'{"X-Custom": "Value"}'}}`
|