1. docker manifest push

1.1. 描述

推送一个多架构镜像(manifest lists)到镜像仓库。

1.2. 帮助

# docker manifest push --help

Usage:  docker manifest push [OPTIONS] MANIFEST_LIST

Push a manifest list to a repository

EXPERIMENTAL:
  docker manifest push is an experimental feature.
  Experimental features provide early access to product functionality. These
  features may change between releases without warning, or can be removed from a
  future release. Learn more about experimental features in our documentation:
  https://docs.docker.com/go/experimental/

Options:
      --insecure   Allow push to an insecure registry
  -p, --purge      Remove the local manifest list after push

1.3. 选项

名称,简写 默认值 描述
--insecure - 允许使用不安全的(非合法证书的 https)镜像仓库
-p, --purge - 镜像 push 成功后删除本地的多架构镜像

1.4. 示例

  • 将创建好的多架构镜像推送到远程镜像仓库
# docker manifest push  harbor.cncfstack.com/library/redis:6.2.6-multi
sha256:89762437568f959988bcd9aefe08a8b41d6031defac406a3d9e0281efe07177a

1.5. 参考

Copyright © 温玉 2021 | 浙ICP备2020032454号 all right reserved,powered by Gitbook该文件修订时间: 2022-03-18 03:16:03

results matching ""

    No results matching ""