There is a quick hack to get started with Podman if you are not familiar with the syntax though.
Step 1. First thing you gotta make sure Docker and Podman are both installed.
$ docker --version $ podman --version
Docker version 20.10.11, build dea9396 podman version 3.4.1
Step 2. Create an alias.
$ alias docker=podman
Step 3. Test things out by listing currently running containers in podman.
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 48b6f110f166 docker.io/library/httpd:latest httpd-foreground 9 seconds ago Up 9 seconds ago 0.0.0.0:8080->80/tcp brave_hugle
Running Podman in root mode won’t cause you any headaches when transitioning from Docker. Although it might defeat the purpose since it’s supposed to be run in a rootless mode, which might be a topic for another day.
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.