株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>



管理者ユーザーを有効化する

yuta@DESKTOP-V36210S:/$ docker login container0910.azurecr.ioUsername: Container0910
Password: 
Login Succeeded
yuta@DESKTOP-V36210S:/$ 
yuta@DESKTOP-V36210S:/$ 

yuta@DESKTOP-V36210S:/$ docker run -i -t ubuntu /bin/bash
Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu
5bed26d33875: Pull complete
f11b29a9c730: Pull complete
930bda195c84: Pull complete
78bf9a5ad49e: Pull complete
Digest: sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d
Status: Downloaded newer image for ubuntu:latest
root@addecb772806:/#
root@addecb772806:/# touch aaa.txt /
root@addecb772806:/# ls /aaa.txt 
/aaa.txt
root@addecb772806:/# 
root@addecb772806:/# exit
exit
yuta@DESKTOP-V36210S:/$ 

yuta@DESKTOP-V36210S:/$ docker ps -a 
CONTAINER ID        IMAGE               COMMAND                  CREATED
   STATUS                      PORTS                                     NAMES    
addecb772806        ubuntu              "/bin/bash"              2 minutes ago    
   Exited (0) 31 seconds ago                                             amazing_blackburn
yuta@DESKTOP-V36210S:/$

yuta@DESKTOP-V36210S:/$ docker commit addecb772806 ubuntu-azure
sha256:690161fdaca78a2e908ac492b67804320342111b99ab05424bffdca87b9a69d2
yuta@DESKTOP-V36210S:/$

yuta@DESKTOP-V36210S:/$ docker tag ubuntu-azure container0910.azurecr.io/ubuntu-azure

yuta@DESKTOP-V36210S:/$ docker push container0910.azurecr.io/ubuntu-azure
The push refers to repository [container0910.azurecr.io/ubuntu-azure]
856ac27ce727: Pushed
16542a8fc3be: Pushed
6597da2e2e52: Pushed
977183d4e999: Pushed
c8be1b8f4d60: Pushed
latest: digest: sha256:f2423920a7e606722806f395ff81165cf37111a1744d39e383dcfcbcde55976a size: 1359
yuta@DESKTOP-V36210S:/$

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)