イメージをコンテナとして実行する

 $ sudo docker pull ubuntu
 
 $ sudo docker images
 REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
 ubuntu              latest              bb0eaf4eee00        4 days ago          72.9MB
 hello-world         latest              bf756fb1ae65        8 months ago        13.3kB
 
 sudo docker run -it ubuntu:latest /bin/bash

参考

https://stackoverflow.com/questions/18497688/run-a-docker-image-as-a-container


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2020-09-21 (月) 11:11:30