infoMore than 1 year has passed since last update.
Dockerコマンド一覧
Last updated at Posted at 2019-02-22
バージョンの確認
Dockerfileを元にイメージを取得後コンテナの作成を行う
コンテナの起動
docker-compose up
docker-compose up -d (バックグラウンドで起動)
コンテナを全停止する。
docker stop $(docker ps -q)
コンテナのプロセスの確認
docker-compose ps
docker ps -a
起動中のDocker コンテナのシェルに入る
docker exec -it コンテナのID bash
立ち上がっているコンテナに入る
docker-compose exec app bash
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
What you can do with signing up