mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-14 12:20:19 +00:00
deploy: fd6a1456c85956c990a7b88a8c9e589d723335bf
This commit is contained in:
@@ -165,8 +165,9 @@ personal blog
|
||||
<h3 id=installing-podman>Installing podman</h3>
|
||||
<p>Running podman on macOS is more involved than on Linux, because the podman-machine must run Linux inside a virtual machine. Fortunately, the installation is made simple with <a href=https://brew.sh/>brew</a> (read <a href=https://podman.io/getting-started/installation#linux-distributions>this</a> if you’re installing podman on Linux):</p>
|
||||
<div class=highlight><pre tabindex=0 style=background-color:#f0f3f3;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh>brew install podman
|
||||
</code></pre></div><p>We must now initialize the podman machine:</p>
|
||||
<div class=highlight><pre tabindex=0 style=background-color:#f0f3f3;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh>podman machine init
|
||||
</code></pre></div><p>If on macOS, the podman machine must be started:</p>
|
||||
<div class=highlight><pre tabindex=0 style=background-color:#f0f3f3;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh><span style=color:#09f;font-style:italic># This is not necessary on Linux</span>
|
||||
podman machine init
|
||||
podman machine start
|
||||
</code></pre></div><p>Let’s try to pull an image:</p>
|
||||
<pre tabindex=0><code class=language-console data-lang=console>$ podman pull alpine
|
||||
|
Reference in New Issue
Block a user