Docker の検索・質問

docker dhi mirror start

マークダウン参照
内容説明Start mirroring Docker Hardened Images
利用方法docker dhi mirror start

内容説明

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).

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

オプション

オプションデフォルト内容説明
-d, --dependenciesMirrors any existing dependencies
--jsonOutput in JSON format