Run rootless Docker for developers on a shared Linux box.
IntermediateScenarioRuntimes: containerd, OCI, rootless and Podman
Answer
Situation read → Remove the root-equivalent daemon.
What I'd do →
sudo apt-get install -y uidmap docker-ce-rootless-extras
dockerd-rootless-setuptool.sh install
systemctl --user enable --now docker
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
loginctl enable-linger $USER
Check /etc/subuid and /etc/subgid ranges exist.
Why → The daemon and containers run in a user namespace; a breakout lands as an unprivileged user.
Interview tip → Limits: ports below 1024, some network modes and --privileged-style features.
More on Runtimes: containerd, OCI, rootless and Podman
Explain the path from `docker run` to a running process.IntermediateKubernetes removed dockershim. What does that mean for your Docker-built images?BeginnerPodman vs Docker: when would you pick Podman?IntermediateRun a Podman container as a systemd service.IntermediateWhat is the OCI and which specs does it define?BeginnerCompare `runc`, `crun`, `gVisor` and `Kata`.Advanced