linux_wiki:podman_install

Differences

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

Link to this comparison view

Next revision
Previous revision
linux_wiki:podman_install [2019/07/28 23:08]
billdozor created
linux_wiki:podman_install [2019/08/03 11:41] (current)
billdozor [Run]
Line 10: Line 10:
  
 ====== Install ====== ====== Install ======
 +
 +Installing podman, the drop in replacement for docker cli.
 +
 +===== Ubuntu 19.04 ====
  
 Install the pre-req and add the PPA Install the pre-req and add the PPA
Line 33: Line 37:
 registries = ["docker.io"] registries = ["docker.io"]
 </code> </code>
 +
 +----
 +
 +====== Run ======
 +
 +Since podman does not use 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.1564369705.txt.gz
  • Last modified: 2019/07/28 23:08
  • by billdozor