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 906d3e0 commit 79a65d0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,19 @@ Docker イメージからコンテナを作成して実行するには、`docker
2. デフォルトのアクションを実行した
3. コンテナをシャットダウンした

## [付箋で成功を確認] 自分が選んだコマンドを使ってコンテナを実行する
まずは コンテナを実行 (alpine というイメージで)
```
docker container run alpine
```

`cat /etc/os-release` というコマンドを alpine イメージのコンテナで実行する。
```
docker container run alpine cat /etc/os-release
```



# Docker Hub

## Docker Hubでコンテナを探す
Expand Down

0 comments on commit 79a65d0

Please sign in to comment.