<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Container on WOGONG</title>
    <link>https://wogong.net/tags/container/</link>
    <description>Recent content in Container on WOGONG</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Mon, 14 Jul 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://wogong.net/tags/container/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>从 Docker 迁移到 Podman</title>
      <link>https://wogong.net/blog/docker-to-podman/</link>
      <pubDate>Mon, 14 Jul 2025 00:00:00 +0000</pubDate>
      <guid>https://wogong.net/blog/docker-to-podman/</guid>
      <description>&lt;p&gt;以下是一些写给自己的备忘录。&lt;/p&gt;&#xA;&lt;p&gt;关于 Quadlet 介绍 &lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;&#xA;&lt;p&gt;如何设置开机自动启动。&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;&#xA;&lt;p&gt;The services created by Podman are considered transient by systemd, which means they don’t have the same persistence rules as regular units. In particular, it is not possible to &lt;code&gt;systemctl enable&lt;/code&gt; them in order for them to become automatically enabled on the next boot.&lt;/p&gt;&#xA;&lt;p&gt;To compensate for this, the generator manually applies the &lt;code&gt;[Install]&lt;/code&gt; section of the container definition unit files during generation, in the same way &lt;code&gt;systemctl enable&lt;/code&gt; does when run later.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
