Skip to content

Commit

Permalink
Update index.qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
kozo2 authored May 31, 2024
1 parent 049faf6 commit 906d3e0
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions docker/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -151,20 +151,28 @@ docker image ls
docker image pull hello-world
```

## [チャレンジ] イメージを確認してみましょう

hello-world Docker コンテナー イメージが正常にダウンロードされ、コンピューター上にあるかどうかを確認するには、どのコマンドを使用しますか?
(解答を見る前に、これまでの知識を活かしてそれにチャレンジしてみてください。)

## Docker Hub
どこから `hello-world` イメージはダウンロードされたのか?

Docker Hub https://hub.docker.com/ からダウンロードされました。

詳細については、後で (Joel さんが) 説明します。

##
## [チャレンジ] イメージを確認してみましょう (5分)

hello-world Docker コンテナー イメージが正常にダウンロードされ、コンピューター上にあるかどうかを確認するには、どのコマンドを使用しますか?
(解答を見る前に、これまでの知識を活かしてそれにチャレンジしてみてください。)

## [付箋で成功を確認] hello-world コンテナの実行

Docker イメージからコンテナを作成して実行するには、`docker container run` コマンドを使用します。

`docker container run hello-world`

## 今何があったの?
1. コンテナを走らせた
2. デフォルトのアクションを実行した
3. コンテナをシャットダウンした

# Docker Hub

Expand Down

0 comments on commit 906d3e0

Please sign in to comment.