mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:13:52 +02:00
dockdiver: refresh page (#16474)
This commit is contained in:
parent
27c9d57d97
commit
0d06808911
1 changed files with 7 additions and 7 deletions
|
@ -5,24 +5,24 @@
|
|||
|
||||
- List all repositories in a Docker registry:
|
||||
|
||||
`dockdiver -url {{http://target}} -list`
|
||||
`dockdiver -url {{https://example.com}} -list`
|
||||
|
||||
- Dump a specific repository to the default output directory (docker_dump):
|
||||
|
||||
`dockdiver -url {{http://target}} -dump {{repository_name}}`
|
||||
`dockdiver -url {{https://example.com}} -dump {{repository_name}}`
|
||||
|
||||
- Dump all repositories with basic authentication:
|
||||
|
||||
`dockdiver -url {{http://example.com}} -dump-all -username {{username}} -password {{password}}`
|
||||
`dockdiver -url {{https://example.com}} -dump-all -username {{username}} -password {{password}}`
|
||||
|
||||
- Dump a repository with a custom port and rate limit:
|
||||
- Dump a repository with a rate limit and a custom port (the default port is `5000`):
|
||||
|
||||
`dockdiver -url http://example.com -dump {{repository_name}} -port {{port}} -rate {{requests_per_second}} -dir {{path/to/output_directory}}`
|
||||
`dockdiver -url {{https://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}}`
|
||||
`dockdiver -url {{https://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"}'}}`
|
||||
`dockdiver -url {{https://example.com}} -list -headers {{'{"X-Custom": "Value"}'}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue