QuickDevGuide

Home › Docker

Troubleshooting & Commands — Docker

Common Issues Issue Cause Fix Container exits immediately App crash on startup docker logs <container> Port already in use Another process on same port Change mapping or stop conflict Build cache not working .dockerignore missing Create .dockerignore Out of disk space Dangling images docker system prune -a Can't connect to service Wrong hostname Use service name inside containers Permission denied Running as root Check USER in Dockerfile Essential Commands

Key Takeaways