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
Zachary Hughes
04/06/2020, 8:23 PM
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
Manuel Aristarán
04/06/2020, 9:56 PM
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
Zachary Hughes
04/07/2020, 2:13 AM
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!