Skip to content

docker daemon does not seem to be started #163

@guiyomh

Description

@guiyomh

Hello. Thanks for your work (I use your features every day!).

But since today I have a problem with the docker-in-docker feature.
Strangely, the docker service does not seem to run.

I rebuilt my dev env. And when I do: devcontainer features test --features vim --base-image mcr.microsoft.com/devcontainers/base:ubuntu .

I have this output
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
|    dev container 'features' |   
│           v0.14.2           │
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘

>  baseImage:         mcr.microsoft.com/devcontainers/base:ubuntu
>  Target Folder:     /workspaces/features
>  features:          vim
>  workspaceFolder:   /tmp/vsch/container-features-test/1663354490504

⏳ Building test container...

[2 ms] @devcontainers/cli 0.14.2.
[-] Failed to launch container:

Command failed: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/vsch/container-features-test/1663354490504
error: Recipe `test` failed on line 17 with exit code 1

After some research, I try to make docker image ls and I have this error:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

I don't know if it's my host machine or the feature that no longer works. Because last week it was working fine!
If you want to test the case, here is my project https://github.com/guiyomh/features.

start the devcontainer and try to run just test vim

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions