Step 1: レジストリに公開されたコンテナイメージを起動
コンテナイメージ コンテナ
pull run
レジストリ
Slide 26
Slide 26 text
Docker Hub からコンテナを選んで実行する
実行するコマンド (step1)
$ docker run hello-world
Hello from Docker! と出力するプ
ログラムを実行する。
Slide 27
Slide 27 text
実行結果
コマンドの実行結果
$ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
7050e35b49f5: Pull complete
Digest: sha256:ffb13da98453e0f04d33a6eee5bb8e46ee50d08e
be17735fc0779d0349e889e9
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be
working correctly.
(以下略)
ローカルにないイメージは
自動的に pull してくる
ここからコンテナで実行
しているプログラムの出力