Skip to content


wsl: emulate docker and docker-compose using podman

i'm using almalinux 9 as wsl distro, so the commands below is for almalinux.

sudo dnf install podman podman-docker
sudo touch /etc/containers/nodocker

docker-compose must be installed in standalone mode.

sudo curl -SL -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

enable systemctl on wsl


run on powershell to restart wsl vm

wsl --shutdown

open wsl again, and enable systemctl

sudo systemctl enable --now podman.socket