Hi! Does anyone have any tips on running Docker ta...
# prefect-community
m
Hi! Does anyone have any tips on running Docker tasks in a Flow running on a Docker agent? Mounting the hosts’ Docker socket does not seem to be a good practice…
z
Hi Manuel, are you running into any problems in particular? Always happy to open an issue if there's room for us to improve our Docker tasks.
m
I’ve started using DockerStorage for my flows, which I initially developed using the local agent. They use Docker tasks, which worked fine when ran locally. Now that the flows are being run in a container, they of course need access to the Docker daemon in the host.
Solution: exposing the TCP socket of the Docker daemon that runs on the host
z
Hi Manuel, sorry— stepped away at the end of the day and missed your response. But I’m glad to hear you found a solution!