Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Podman Install ====== **General Information** Podman is an OCI (open container initiative) compliant container client and fully docker compatible. Podman allows you to run and perform all of the docker-cli commands without running a docker daemon. ---- ====== Install ====== Installing podman, the drop in replacement for docker cli. ===== Ubuntu 19.04 ==== Install the pre-req and add the PPA <code bash> sudo apt -y install software-properties-common sudo add-apt-repository -y ppa:projectatomic/ppa </code> Install podman <code bash> sudo apt install podman </code> ---- ====== Configure ====== Add dockerhub as a default location to search for short named containers. <code bash> sudo vim /etc/containers/registries.conf [registries.search] registries = ["docker.io"] </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.txt Last modified: 2019/08/03 11:41by billdozor