microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.57k stars 267 forks source link

Devcontainer fails to start with 'spawn docker-compose EACCES' unless running VS Code as admin #9764

Closed aaronenberg-msft closed 3 months ago

aaronenberg-msft commented 3 months ago

Devcontainer is running into EACCES when running docker-compose version --short.

docker-compose standalone (V1) is not installed. compose V2 is installed with Docker Engine on WSL. Docker Desktop is not installed.

Steps to Reproduce:

  1. Start VS Code as non-admin user
  2. Connect to WSL
  3. Open project folder
  4. Reopen in Container
chrmarti commented 3 months ago

We try docker-compose first and switch to docker compose if that is not found. Somehow a docker-compose must be on your PATH can you remove that?

VSCodeTriageBot commented 3 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

max-m-roy commented 2 months ago

was there ever a fix for this as I am encountering a similar issue when using docker compose remote-ssh and devcontainers

aaronenberg-msft commented 2 months ago

We try docker-compose first and switch to docker compose if that is not found. Somehow a docker-compose must be on your PATH can you remove that?

I do not have docker-compose on my PATH