Dokploy + Podman on Alma Linux
Deploying applications securely often means avoiding running containers as the root user. Podman is a daemonless, rootless alternative to Docker that shines on enterprise distributions like Alma Linux.
Why Podman?
Podman does not require a running daemon, which means fewer background processes and a smaller attack surface. Running containers rootless is a huge win for security.
Integrating Dokploy
Dokploy is an excellent alternative to Vercel/Heroku for self-hosting. To make it work seamlessly with Podman:
- Install Podman and
podman-compose. - Enable the podman socket:
systemctl --user enable --now podman.socket. - Export the
DOCKER_HOSTenvironment variable to point to the Podman socket:export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock. - Run the Dokploy installation script.
Conclusion
Combining the rock-solid stability of Alma Linux, the security of rootless Podman, and the developer experience of Dokploy results in a perfect self-hosted PaaS.