Hacker News new | ask | show | jobs
by rpncreator 1731 days ago
The challenges I’ve had switching out Docker Engine, CLI, and Compose with Podman has been the absence of a vetted Docker Compose replacement.

What I’ve done so far in replacing Docker Desktop has been to use just the CLI, Engine, and Compose on WSL2.

3 comments

I never liked the GUI or desktop behavior. I just install containerd, point dockerd at it, and download everything manually. This is pretty much my install, sans systemd units:

    curl -LO https://download.docker.com/linux/static/stable/x86_64/docker-20.10.8.tgz
    tar -xvzf docker-20.10.8.tgz
    mv docker/dockerd /usr/bin/dockerd
    mv docker/docker-init /usr/bin/docker-init
    mv docker/docker-proxy /usr/bin/docker-proxy
    mv docker/docker /usr/bin/docker
    rm -rf docker 
    rm docker-20.10.8.tgz
As of 3.0 you can apparently run docker-compose directly against podman in daemon mode (thought I haven't tried it).
I've been running this way since the beginning of the year. Works great, just need to set DOCKER_HOST when launching docker-compose.
When I found out Podman supports Kubernetes pod YML files with `podman play kube`, I "ported" my Compose files to those, and that works pretty well (in the newest versions of Podman).