Closed
Description
A single devcontainer with docker-in-docker is running fine. If opening a second devcontainer with docker-in-docker on the same host in parallel, docker execution fails in the 2nd container.
- VSCode Version: 1.60.2
- Local OS Version: Windows 10 Pro 10.0.19042
- Reproduces in: Remote - Containers
- Name of Dev Container Definition with Issue: Docker-in-Docker
Steps to Reproduce:
- Open devcontainer with docker-in-docker definition in first instance of VS Code
- Run "docker ps" --> CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES --> works
- Open a second VS Code instance and let the first VS Code Window continue to run in parallel.
- Open a second devcontainer with a Docker-in-docker definition in the second instance of VS Code
- Run "docker ps" --> Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
- If closing the first VS Code instance and rebuilding the second, then docker-in-docker works on the second instance.