Hey! Cannot connect to docker daemon through pulum...
# general
f
Hey! Cannot connect to docker daemon through pulumi while its active. Any guide to resolve this?
b
does
docker info
work?
f
yes $sudo docker info works
b
ah I notice tyou've set a new docker host, how about: does
docker info -H <tcp://127.0.0.1:2376>
work?`
the error message is telling you it can't read the docker host you've set, so there's a misconfiguration there
f
$docker info gives this!
b
you need to add your user to the
docker
group so you no longer need sudo, then remove the
pulumi config
setting you've set
Copy code
sudo groupadd docker
sudo usermod -aG docker $USER
f
Okay added the role! The config is one that I specified. Should it be removed?
https://www.pulumi.com/docs/intro/cloud-providers/docker/setup/ Using this link, I performed the "configure provider step"
b
that's operating system and set up specific
docker
docker info
now work?
f
yess
208 Views