-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
Kubernetes scenarios that use kind (Kubernetes in Docker) fail because the scenario containers don't have access to the Docker daemon.
Current Behavior
- Scenario containers are started without the Docker socket mounted
- When
kind create clusterruns inside the container, it fails with "Cannot connect to the Docker daemon"
Expected Behavior
- Scenario containers should have Docker access to create and manage kind clusters
- The
kindcommand should successfully create local Kubernetes clusters
Root Cause
The server starts containers with:
docker run -it --rm --name devops-dojo-${socket.id} --network devops-dojo-net ${imageName}Missing the required Docker socket mount: -v /var/run/docker.sock:/var/run/docker.sock
Solution
Add Docker socket mounting to the container creation command in src/server/index.ts
Impact
All Kubernetes scenarios are currently non-functional
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working