Difference between revisions of "Podman"

From Dogtag
Jump to: navigation, search
m (See Also)
m (Installation)
 
Line 3: Line 3:
 
<pre>
 
<pre>
 
$ dnf install podman
 
$ dnf install podman
 +
</pre>
 +
 +
= Listing Images =
 +
 +
<pre>
 +
$ podman images
 +
</pre>
 +
 +
= Building an Image =
 +
 +
<pre>
 +
$ podman build -t <name> <dir>
 +
</pre>
 +
 +
= Tagging an Image =
 +
 +
<pre>
 +
$ podman tag <name>:<tag> <new name>:<new tag>
 +
</pre>
 +
 +
= Pushing an Image =
 +
 +
<pre>
 +
$ podman push <name>:<tag>
 
</pre>
 
</pre>
  

Latest revision as of 17:59, 19 May 2020

Installation

$ dnf install podman

Listing Images

$ podman images

Building an Image

$ podman build -t <name> <dir>

Tagging an Image

$ podman tag <name>:<tag> <new name>:<new tag>

Pushing an Image

$ podman push <name>:<tag>

See Also