Darragh
06/22/2020, 9:01 PMdocker_server_url
but I’ve no idea what that might be for this case.
The error I get is:
DockerException("Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))",)
Which traces back to line 302 in containers.py
- there are some threads out there that suggest /`var/run` is the right answer, but no luck with itKyle Moon-Wright
06/22/2020, 9:22 PMdocker_server_url
kwarg takes in an address of a Docker Daemon, but Fargate Tasks don't natively ship with one (though is is on their roadmap). With that in mind, exposing a daemon in some manner and calling out to it may be the best way to achieve what you're after. You may be better off using a Docker Agent on an EC2 instance or a Kubernetes Agent as detailed in this deployment recipe. Hope this helps!Darragh
06/22/2020, 9:36 PM