How to fix Cannot start Docker Compose application
Hi Everyone, Today, lets see how to solve the below issue while starting the docker containers.
Cannot start Docker Compose application. Reason: compose [start] exit status 1. Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Steps to Fix:
1. Open Docker Desktop Settings
- Click the Docker Desktop icon in system tray → Settings (gear icon)
2. Enable WSL 2 Backend
- Go to General tab
- Check "Use the WSL 2 based engine"
- Click Apply & Restart
3. Enable WSL Integration
- Go to Resources → WSL Integration
- Turn on "Enable integration with my default WSL distro"
- Or manually enable your specific distro from the list
- Click Apply & Restart
Comments
Post a Comment