sudo add-apt-repository ppa:projectatomic/ppa
sudo apt-get update
sudo apt-get install podman uidmap
echo "$(whoami):10000:65536" | sudo tee /etc/subuid
echo "$(whoami):10000:65536" | sudo tee /etc/subgid
echo -e "[registries.search]\nregistries = ['docker.io']" | sudo tee /etc/containers/registries.conf
slirp4netns
is pacaked for Ubuntu >19.04
To install from source:
git clone https://github.com/rootless-containers/slirp4netns
cd slirp4netns/
./autogen.sh
./configure
make
sudo make install
podman run -it --rm debian bash
podman run -it debian bash