Interview Prep/Docker/Daemon, install and permissions

`Error response from daemon: Conflict. The container name "/web" is already in use by container ...`

BeginnerTroubleshootingDaemon, install and permissions
Answer

Likely causes → An old (possibly stopped) container has that name.

Diagnose → docker ps -a --filter name=web

Fix → docker rm -f web or choose another name; use --rm for ephemeral containers.

Prevent → Let Compose name containers or use --rm.

All Docker questions Roadmap: Docker & containers

More on Daemon, install and permissions