mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-14 04:10:19 +00:00
deploy: 02b8789f1eeab629e3a475b1e63b3c7e624d9e75
This commit is contained in:
@@ -168,7 +168,7 @@ personal blog
|
||||
</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
|
||||
podman machine start
|
||||
</code></pre></div><p>Let’s try to pull an image*:</p>
|
||||
</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
|
||||
Trying to pull docker.io/library/alpine:latest...
|
||||
Getting image source signatures
|
||||
@@ -177,7 +177,9 @@ Copying config sha256:14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8
|
||||
Writing manifest to image destination
|
||||
Storing signatures
|
||||
14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab
|
||||
</code></pre><p>*<em>Note: If you’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’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>
|
||||
<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 "podman": unexpected end of JSON input
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user