Interview Prep/Docker/Daemon, install and permissions

`Failed to start docker.service: Unit docker.service is masked.`

BeginnerTroubleshootingDaemon, install and permissions
Answer

Likely causes → Service was masked (manually or by a package/Snap change).

Diagnose → systemctl status docker; systemctl is-enabled docker docker.socket

Fix → sudo systemctl unmask docker docker.socket && sudo systemctl enable --now docker.

Prevent → Avoid mixing Snap and apt Docker installs.

All Docker questions Roadmap: Docker & containers

More on Daemon, install and permissions