<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>minegishirei</author_name>
  <author_url>https://blog.hatena.ne.jp/minegishirei/</author_url>
  <blog_title>Docker入門</blog_title>
  <blog_url>https://docker.hatenablog.jp/</blog_url>
  <categories>
    <anon>DockerCommands</anon>
  </categories>
  <description>ビルドしたDockerイメージを圧縮ファイルとして配りたい場合。 解決策:docker exportコマンドを使用する まずはdocker psでコンテナの一覧を取得する docker ps -a CONTAINER ID IMAGE COMMAND CREATED ... NAMES 77d9619a7a71 ubuntu:14.04 &quot;/bin/bash&quot; 10 seconds ago ... high_shockley ここで、CONTAINER IDが 77d9619a7a71 のコンテナのイメージを圧縮ファイルとして保存、共有したい場合。 次のようにdocker exportコマンド…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdocker.hatenablog.jp%2Fentry%2F2023%2F06%2F08%2F163311&quot; title=&quot;Dockerイメージをファイルとして保存する方法 - Docker入門&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>2023-06-08 16:33:11</published>
  <title>Dockerイメージをファイルとして保存する方法</title>
  <type>rich</type>
  <url>https://docker.hatenablog.jp/entry/2023/06/08/163311</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
