linux_wiki:podman_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
linux_wiki:podman_install [2019/07/28 23:09]
billdozor [Install]
linux_wiki:podman_install [2019/08/03 11:35]
billdozor [Commands: Same as docker cli]
Line 13: Line 13:
 Installing podman, the drop in replacement for docker cli. Installing podman, the drop in replacement for docker cli.
  
-===== Ubuntu ====+===== Ubuntu 19.04 ====
  
 Install the pre-req and add the PPA Install the pre-req and add the PPA
Line 37: Line 37:
 registries = ["docker.io"] registries = ["docker.io"]
 </code> </code>
 +
 +----
 +
 +====== Run ======
 +
 +Since podman does not require a daemon, you can simply inspect/build/run containers and images.
 +
 +Containers can also be run with non-root privileges.
 +
 +The containers use storage at:
 +  * Running as normal user: ~/.local/containers/
 +  * Running as root/with sudo: /var/lib/containers/
 +
 +
 +===== Commands: Same as docker cli =====
 +
 +Podman commands are the same as docker cli. See some examples below.
 +
 +\\
 +Display podman settings/info<code bash>podman info</code>
 +
 +\\
 +Show images<code bash>podman images</code>
 +
 +\\
 +Show all containers<code bash>podman ps -a</code>
 +
 +\\
 +Run a container interactively and attach a bash shell<code bash>podman run -it registryname/image /bin/bash</code>
  
 ---- ----
  
  • linux_wiki/podman_install.txt
  • Last modified: 2019/08/03 11:41
  • by billdozor