deploy: 385e432b350ea4217c7743dd5cfed935aefd228c

This commit is contained in:
davegallant
2021-10-12 01:05:22 +00:00
parent 026ba1322b
commit 6ddc1c973a
2 changed files with 5 additions and 5 deletions

View File

@@ -185,7 +185,7 @@ Error: error preparing container 99ace1ef8a78118e178372d91fd182e8166c399fbebe0f6
<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 run -p <span style=color:#f60>8080</span> --rm -ti alpine
</code></pre></div><p>If you&rsquo;re reading this from the future, there is a good chance specifying a port won&rsquo;t be needed.</p>
<h3 id=aliasing-docker-with-podman>Aliasing docker with podman</h3>
<p>Force of habit (or other scripts) may have you calling <code>docker</code>. To workaround this:</p>
<p>Force of habit (or other scripts) may have you calling <code>docker</code>. To work around this:</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:#366>alias</span> <span style=color:#033>docker</span><span style=color:#555>=</span>podman
</code></pre></div><h3 id=podman-compose>podman-compose</h3>
<p>You may be wondering: what about docker-compose? Well, there happens to be a drop-in replacement for it: <a href=https://github.com/containers/podman-compose>podman-compose</a>.</p>
@@ -219,9 +219,9 @@ podman start -a davegallant.github.io_hello_world_1
Hello world
</code></pre><p>This should more or less provide the same results you would come to expect with docker.</p>
<h3 id=summary>Summary</h3>
<p>Installing podman on macOS was not seamless, but it was manageable well within 30 minutes of time. I would recommend podman to anyone who is tired of experiencing forced docker updates, and who wants to use a more modern technology for managing containers.</p>
<p>One thing to note is that there isn&rsquo;t a graphical user interface for podman, but there is an <a href=https://github.com/containers/podman/issues/11494>open issue</a> considering one. If you rely heavily on Docker Desktop&rsquo;s UI, you may not be as interested in using podman just yet.</p>
<p>I had been experimenting with podman on Linux before writing this, but after listening to this <a href=https://kubernetespodcast.com/episode/164-podman/>podcast episode</a>, I was inspired to try podman on macOS, and then write about my experience here.</p>
<p>Installing podman on macOS was not seamless, but it was manageable well within 30 minutes of time. I would recommend podman to anyone who is unhappy with experiencing forced docker updates, and who wants to use a more modern technology for managing containers.</p>
<p>One thing to note is that there isn&rsquo;t a graphical user interface for podman, but there is an <a href=https://github.com/containers/podman/issues/11494>open issue</a> considering one. If you rely heavily on Docker Desktop&rsquo;s UI, you may not be as interested in using podman yet.</p>
<p>I had been experimenting with podman on Linux before writing this, but after listening to this <a href=https://kubernetespodcast.com/episode/164-podman/>podcast episode</a>, I was inspired to give podman a tray on macOS.</p>
</div>
<footer class=entry-footer>
<div class="container sep-before"><div class=tags><svg class="icon" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" aria-hidden="true"><path d="M20.59 13.41l-7.17 7.17a2 2 0 01-2.83.0L2 12V2H12l8.59 8.59a2 2 0 010 2.82z"/><line x1="7" y1="7" x2="7" y2="7"/></svg>

File diff suppressed because one or more lines are too long