Share feedback
Answers are generated based on the documentation.

docker dhi mirror start

DescriptionStart mirroring Docker Hardened Images
Usagedocker 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 /dhi- source,destination Source and destination; the destination namespace is filled from config if omitted ns/source,ns/dest Fully qualified source and destination

The source namespace defaults to "dhi" when not specified. The destination namespace defaults to the configured organization (--org or config).

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

OptionDefaultDescription
-d, --dependenciesMirrors any existing dependencies
--jsonOutput in JSON format