| Description | Start mirroring Docker Hardened Images |
|---|---|
| Usage | docker dhi mirror start |
Description
Start mirroring one or more Docker Hardened Images to your organization's registry.
Repository mappings are specified as arguments. The following formats are supported:
source Only the source repository; destination is auto-generated as
The source namespace defaults to "dhi" when not specified. The destination namespace defaults to the configured organization (--org or config).
Note: mirroring a repository does not automatically grant every organization member access to it. Members without access to the destination repository need appropriate team repository permissions, which can be set in Docker Hub.
Examples: docker dhi mirror start --org myorg dhi/golang,myorg/dhi-golang dhi/node,myorg/dhi-node docker dhi mirror start --org myorg golang,dhi-golang node,dhi-node docker dhi mirror start --org myorg golang node
Options
| Option | Default | Description |
|---|---|---|
-d, --dependencies | Mirrors any existing dependencies | |
--json | Output in JSON format |