内容纲要

将本地的镜像上传到镜像仓库,要先登陆到镜像仓库

OPTIONS说明:

  • --disable-content-trust :忽略镜像的校验,默认开启

栗子:

上传本地镜像myapache:v1到镜像仓库中。

docker push myapache:v1