<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>soratokimitonoaidani</author_name>
  <author_url>https://blog.hatena.ne.jp/soratokimitonoaidani/</author_url>
  <blog_title>子供の落書き帳 Renaissance</blog_title>
  <blog_url>https://linus-mk.hatenablog.com/</blog_url>
  <categories>
    <anon>docker</anon>
  </categories>
  <description>Dockerイメージを作ってAmazon ECSにプッシュ、を繰り返していた。その結果、docker imagesコマンドを打つと、使っていない（最新でない）dockerイメージが大量に表示されてわかりにくくなってしまった。イメージを削除する方法を調べた。 Q1. Docker image を多数一斉に消すためのコマンドは何か? Q2. デフォルトだとどの範囲が消えるの? Q3 untilの使い方は? Q4 3日前よりも前に作られた宙ぶらりんな（dangling）imageを全部消したい。どのようにコマンドを打てばよいか? Q1. Docker image を多数一斉に消すためのコマンドは何か…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flinus-mk.hatenablog.com%2Fentry%2Fdocker_image_prune_until&quot; title=&quot;docker image pruneで「何日前より前のイメージを全て削除」を指定する - 子供の落書き帳 Renaissance&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/soratokimitonoaidani/20230121/20230121192526.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-01-21 19:27:20</published>
  <title>docker image pruneで「何日前より前のイメージを全て削除」を指定する</title>
  <type>rich</type>
  <url>https://linus-mk.hatenablog.com/entry/docker_image_prune_until</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
