LoginSignup
10
10

More than 5 years have passed since last update.

Docker コマンド一覧

Last updated at Posted at 2015-10-07
  • コンテナ
操作 コマンド
コンテナ一覧 docker ps
実行中コンテナへの接続(attach) docker attach CONTAINER
コンテナ実行 docker run
コンテナ実行(ファイル共有付き) docker run -v [ホスト側のディレクトリ]:[コンテナ側のディレクトリ]
実行中コンテナへの接続(bash付き) docker exec -i -t /bin/bash
インタラクティブコンテナ実行(bash付き) docker run -i -t ubuntu:vivid /bin/bash
  • イメージ
操作 コマンド
コンテナ一覧 docker images
Ubuntu(15.04)イメージの取得と実行 docker run ubuntu:vivid

参考サイト
https://gist.github.com/hotta/69b476ae6662c5ff67f0/

10
10
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
10
10