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
linux_wiki:podman_install [2019/07/28 23:09]
billdozor [Ubuntu]
linux_wiki:podman_install [2019/08/03 11:41] (current)
billdozor [Run]
Line 37: 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.1564369776.txt.gz
  • Last modified: 2019/07/28 23:09
  • by billdozor