<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gregminster</author_name>
  <author_url>https://blog.hatena.ne.jp/gregminster/</author_url>
  <blog_title>約束の地</blog_title>
  <blog_url>https://obel.hatenablog.jp/</blog_url>
  <categories>
    <anon>ソフトウェア -&gt; Docker</anon>
  </categories>
  <description>結論 マウントするだけのコンテナを適当なイメージから作って、それを用いて中身を見たり $ docker container cp すればいいです。 よく記事で見る、特権を使って中身を覗く方法も手っ取り早いと思います*1。 具体例 用いるイメージは Ubuntu 20.04 で特に問題ないと思うので、こんな感じでいいでしょう。 イメージの中身を見る方法 --rm オプションを付けているので、コンテナから抜けたら自動でコンテナが破棄されます。中身を見るだけならこれで十分だと思います。 $ docker container run --rm -v YOUR_VOLUME_NAME:/tmp/fuga…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobel.hatenablog.jp%2Fentry%2F20220406%2F1649185200&quot; title=&quot;Docker の「ボリューム（bindではないボリューム）」の具体的な中身を見たり、中身をホストにコピーしたりしたいとき - 約束の地&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.user.blog.st-hatena.com/default_entry_og_image/459657/1568741889764668</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-04-06 04:00:00</published>
  <title>Docker の「ボリューム（bindではないボリューム）」の具体的な中身を見たり、中身をホストにコピーしたりしたいとき</title>
  <type>rich</type>
  <url>https://obel.hatenablog.jp/entry/20220406/1649185200</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
