Help us understand the problem. What is going on with this article?

docker コマンドリファレンス

More than 1 year has passed since last update.

Docker command

Remove Containers

docker rm [コンテナID]
これは複数指定も可能
docker rm [コンテナID] [コンテナID]

コンテナIDのみを表示するには
docker ps -a -q
とすればよく、これで実質全停止中のコンテナの削除ができる。

Remove Images

docker rmi [イメージID]

riita10069
Tokyo Institute of Tecnology 18-5(B3) major in computer science mixi Inc. Office of the CTO
https://riita10069.github.io/aboutme/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away