Dagster suddenly cannot communicate with Docker to launch run containers #21987
Closed
clayheaton
started this conversation in
Community
Replies: 1 comment 4 replies
-
Hi clay - it looks like you are hitting this upstream issue with the docker python client: docker/docker-py#3256 You can resolve it by pinning the version of requests that you're using to <2.32.0 (until docker lands their hotfix that they are working on) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been running self-hosted Dagster with Docker Compose and 5 code locations for over a year without any problems, updating regularly. This is on Ubuntu 22.04.
Today, out of the blue, Dagster no longer can communicate with Docker to launch containers. This is the error:
docker.errors.DockerException: Error while fetching server API version: Not supported URL scheme http+docker
This is how I have my run launcher configured. I have not touched this in over a year:
If I just ssh to the VM where Dagster is running, I can do this in a python repl:
However, if I
docker exec -it dagster_daemon bash
into thedagster_daemon
container, trying the same code leads to the error shown above. The dagster_daemon is defined like this in my docker compose file:Any ideas? I have no idea why this suddenly stopped working. I've rebooted the VM, upgraded docker, etc... but none of it is enabling the dagster run launcher to communicate with docker...
Beta Was this translation helpful? Give feedback.
All reactions