ログ・アリは、公式サイトを曇らせる、ミラーコンテナサービスを見つけます
ミラーは、デポを作成し、倉庫を入力します。
入力された情報
ローカルリポジトリを選択
ここで私はリポジトリにこのイメージをしたいです
倉庫リストに戻る、管理]をクリックします
docker login --username=cn丶moti registry.cn-hangzhou.aliyuncs.com
docker tag [ImageId] registry.cn-hangzhou.aliyuncs.com/cnmoti/mycentos:[镜像版本号]
docker push registry.cn-hangzhou.aliyuncs.com/cnmoti/mycentos:[镜像版本号]
次のように具体的な動作は以下のとおりです。
docker login --username=cn丶moti registry.cn-hangzhou.aliyuncs.com
# 之后输入密码,回车
docker tag 5241774ca111 registry.cn-hangzhou.aliyuncs.com/cnmoti/mycentos:1.1
docker push registry.cn-hangzhou.aliyuncs.com/cnmoti/mycentos:1.1
アリ雲は、上記のよう
今、私はmycentosローカルミラーを削除します
私はちょうどオンラインスプレッドアリクラウド鏡で引っ張ります
sudo docker pull registry.cn-hangzhou.aliyuncs.com/cnmoti/mycentos:1.1
テスト、ランタイムイメージを実行して、コンテナを取得し、ログインデフォルトのディレクトリをチェックすると、vimのとifconfigコマンドを使用できるかどうか、は/ usr / localです