1
2

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 imageの削除

Posted at

dockerの操作をしていると、大量のイメージがホスト上にできてしまいます。そのため、イメージの管理が煩雑になります。特に学習中などの場合、不要なイメージばかりだと思いますので、今回は、全イメージの削除を行うコマンドを紹介します。

以下コマンドで可能です。

docker image rmi -f $(docker image ls -a -q)
1
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?