deploy: 02b8789f1eeab629e3a475b1e63b3c7e624d9e75

This commit is contained in:
davegallant
2021-10-12 01:47:48 +00:00
parent 0546c61033
commit 2d688b2695
2 changed files with 5 additions and 3 deletions

View File

@@ -168,7 +168,7 @@ personal blog
</code></pre></div><p>We must now initialize the podman machine:</p> </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 <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
podman machine start podman machine start
</code></pre></div><p>Let&rsquo;s try to pull an image*:</p> </code></pre></div><p>Let&rsquo;s try to pull an image:</p>
<pre tabindex=0><code class=language-console data-lang=console>$ podman pull alpine <pre tabindex=0><code class=language-console data-lang=console>$ podman pull alpine
Trying to pull docker.io/library/alpine:latest... Trying to pull docker.io/library/alpine:latest...
Getting image source signatures Getting image source signatures
@@ -177,7 +177,9 @@ Copying config sha256:14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8
Writing manifest to image destination Writing manifest to image destination
Storing signatures Storing signatures
14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab 14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab
</code></pre><p>*<em>Note: If you&rsquo;re having an issue with pulling images, you may need to remove <code>~/.docker</code>. Rather than removing it entirely, you can simply rename it: <code>mv ~/.docker ~/.docker-backup</code>. (<code>~/.docker/config.json</code> can cause issues with podman.)</em></p> </code></pre><blockquote>
<p>If you&rsquo;re having an issue with pulling images, you may need to remove <code>~/.docker/config.json</code> or remove the set of auths in the configuration as mentioned <a href=https://stackoverflow.com/a/69121873/1191286>here</a>.</p>
</blockquote>
<p>and then exec into the container:</p> <p>and then exec into the container:</p>
<pre tabindex=0><code class=language-console data-lang=console>$ podman run --rm -ti alpine <pre tabindex=0><code class=language-console data-lang=console>$ podman run --rm -ti alpine
Error: error preparing container 99ace1ef8a78118e178372d91fd182e8166c399fbebe0f676af59fbf32ce205b for attach: error configuring network namespace for container 99ace1ef8a78118e178372d91fd182e8166c399fbebe0f676af59fbf32ce205b: error adding pod unruffled_bohr_unruffled_bohr to CNI network &quot;podman&quot;: unexpected end of JSON input Error: error preparing container 99ace1ef8a78118e178372d91fd182e8166c399fbebe0f676af59fbf32ce205b for attach: error configuring network namespace for container 99ace1ef8a78118e178372d91fd182e8166c399fbebe0f676af59fbf32ce205b: error adding pod unruffled_bohr_unruffled_bohr to CNI network &quot;podman&quot;: unexpected end of JSON input

File diff suppressed because one or more lines are too long