Docker in Gitpod does not work


Gitpod version 0.6.0 installed, and feature preview ins enabled, But when I run docker cli in gitpod terminal, there’s an error

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

and container run time in my k8s is containerd .

Is it necessary to install docker engine on node ?

Hi @yyexplore, welcome to the Gitpod community! :tada:

Have you started the Docker daemon in the workspace first? You’ll need to run sudo docker-up in a separate Terminal before you can use the docker CLI.

Thanks a lot !

It’s working now, docker-up should run in previous

1 Like