0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Dockerコンテナコマンドメモ

Last updated at Posted at 2018-05-12

dockerコマンドメモです
随時更新予定です

状態チェック系

コマンド 意味
docker container top [CONTAINER ID] コンテナ内で実行中のプロセスを確認
docker container inspect [CONTAINER ID] コンテナ設定の確認
docker container stats [CONTAINER ID] コンテナのリソース使用状況の確認

ネットワーク系

コマンド 意味
docker container run -p コンテナのportをホストに割り当てる
docker container port [CONTAINER] ポートの確認
docker container inspect --format '{{ .NetworkSettings.IPAddress }}' [CONTAINER] IP確認
docker network ls ネットワークリスト確認
docker network inspect ネットワーク詳細確認
docker network create --driver ネットワーク作成
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?