Cannot stop Docker Compose application. Reason: Error invoking remote method 'compose-action': Error: spawn C:\Windows\system32\cmd.exe ENOENT
yooakim opened this issue · comments
- I have tried with the latest version of Docker Desktop
- I have tried disabling enabled experimental features
- I have uploaded Diagnostics
- Diagnostics ID: 8B2EA6F7-4A97-48C4-9FB6-3E355C996E1E/20210916130539
Actual behavior
When I try to stop the application started via Docker Compose I the the error:
Cannot stop Docker Compose application. Reason: Error invoking remote method 'compose-action': Error: spawn C:\Windows\system32\cmd.exe ENOENT
Expected behavior
I expected the app to be stopped.
Information
The app was created from the appwrite.io getting started guide.
- Windows Version: 10.0.22000
- Docker Desktop Version: 4.0.1
- WSL2 or Hyper-V backend? WSL2
- Are you running inside a virtualized Windows e.g. on a cloud server or a VM: No
same
I had that same problem and the fix was:
- Restart each docker container (I did this using CLI).
docker container ls -a
docker container restart <container_id>
- After that check if all of them are running, if not log ones that exited.
docker container logs <container_id>
- Look for some errors, in my case there was one config file missing.
- Fix error 😉
Issues go stale after 90 days of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
comment.
Stale issues will be closed after an additional 30 days of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen
comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale
Hello, i've had the same when i changed the name folder where was my docker-compose. i had to change the old name folder
Stop Appwrite containers , from https://appwrite.io/docs/installation
how do you restart the server again? I tried to restart the server, but that error occurs
@levi956 I run "docker-compose start" from dir where has appwrite folder. Try Quit Docker Desktop (in Windows), and then try run/stop server.
Thank you it worked for me. All you have to do is go inside appwrite
directory and docker-compose start
to start or docker-compose stop
to stop
I have deleted the appwrite directory what should I do?
Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked