This message was deleted.
# rancher-desktop
a
This message was deleted.
f
You may need to run
docker context use rancher-desktop
p
Thanks @fast-garage-66093, still getting the same , after setting the context
f
Are you sure you are using the `moby`container engine and not
containerd
? Only
moby
provides a docker-compatible socket
p
moby only
when i try run the docker-compose --version , were able to get the version
But astro dev start (astronomer based airflow)
gets this error
f
Does
docker info
work, or show the same error?
p
works for me
docker info
f
If it works, then it means
astro
doesn't support docker contexts. In that case you will have to enable "Admin access" in the Preferences so Rancher Desktop can create the socket in the default location.
p
okay , will do thanks
f
Alternatively you could try to
export DOCKER_HOST=unix://$HOST/.rd/docker.sock
Maybe astro supports that
p
okay sure , now trying first approach
f
The env variable approach has the advantage that it won't ask you for your password every time you run Rancher Desktop after restarting your machine (because
/var/run
is wiped on each reboot)
p
okay thanks, Error: Error checking docker-compose status: Cannot connect to the Docker daemon at unix:///.rd/docker.sock. Is the docker daemon running?
f
Sorry, that should have been
HOME
instead of
HOST
😞
p
perfect , works now thank you very much
👍 1