<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cpw</author_name>
  <author_url>https://blog.hatena.ne.jp/cpw/</author_url>
  <blog_title>cpw's diary</blog_title>
  <blog_url>https://cpw.hatenadiary.jp/</blog_url>
  <categories>
    <anon>docker</anon>
  </categories>
  <description>Dockerでいろいろ試しているといろんなパッケージを追加しまくったりして、いがいにすぐディスクが圧迫されていきます。ひとつひとつ削除しているのは結構つらいので、一括で削除したいときがあります。というかさっきそんな感じでした。 mroongaをDockerで動かしたくて、、、、いろいろapt-getを繰り返していたらディスクがいっぱいになっちゃいました。ということで、以下のコマンドを実行すると既に停止しているコンテナを一括で削除できます。 for id in $(docker ps -a | grep Exit | cut -d &quot; &quot; -f 1); do docker rm $id; don…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcpw.hatenadiary.jp%2Fentry%2F2013%2F08%2F18%2F212630&quot; title=&quot;Dockerでいらなくなったコンテナを一括削除する - cpw&amp;#39;s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-08-18 21:26:30</published>
  <title>Dockerでいらなくなったコンテナを一括削除する</title>
  <type>rich</type>
  <url>https://cpw.hatenadiary.jp/entry/2013/08/18/212630</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
