https://prefect.io logo
#prefect-community
Title
# prefect-community
b

Brad

04/13/2020, 7:39 AM
Has anyone had any issues running a docker agent on a linux server?
I’m getting a bunch of
Copy code
requests.exceptions.ConnectionError: HTTPConnectionPool(host='host.docker.internal', port=4200): Max retries exceeded with url: /graphql/alpha (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa1de7c7450>: Failed to establish a new connection: [Errno -2] Name or service not known'))
from the docker agent when trying to run a flow
I’m not sure if I’ve misconfigured something, but it looks like it also could be related to https://github.com/docker/for-linux/issues/264, but not entirely sure.
j

josh

04/13/2020, 11:36 AM
Hey @Brad looks like Docker for Linux is having trouble connecting out to the host machine, another discussion happening here https://prefect-community.slack.com/archives/CL09KU1K7/p1586101754445600
Yeah it’s definitely related to the
host.docker.internal
which looks to have been implemented for Linux users however it appears that it has not been released yet. This means we’ll need to find another workaround 🙂
b

Brad

04/13/2020, 11:59 AM
Awesome. Thanks for the quick follow up Josh
l

Leo Meyerovich (Graphistry)

04/13/2020, 5:07 PM
We run in docker / docker-compose fine, tho via
pip install
. (We do that so we can reuse our pydata base env across our project.)
j

josh

04/13/2020, 5:18 PM
@Leo Meyerovich (Graphistry) just to confirm, you’re seeing success running the docker agent on a linux server?