1
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?

よく使うDockerコマンド

Last updated at Posted at 2025-12-14

Dockerコマンド

個人的に使用頻度が高いと思ったDockerコマンドをまとめる

コマンド 説明
docker image ローカルイメージの確認
docker ps 現在実行中のコンテナ一覧を表示
docker build -t <名前>. 現在のディレクトリから新しいイメージを作成しタグ付け
docker stop <名前> 実行中のコンテナを停止する
docker start <名前> 停止しているコンテナを再開する
docker rm <コンテナ名> 停止しているコンテナを削除
docker compose up -d docker-compose.ymlをビルドし起動
docker compose down 起動中のサービスを停止し削除
1
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
1
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?