I was wondering, as docker seems to be more popular to administer servers, not local development systems, what is the point of docker connection? It’s utility seems rather limited.
The docker connection only works on localhost, not on with the docker deamon running on the remote target system you are configuring.
Thus it is useful to configure the current system you are on, but not so much for a remote system. You could remotely run an ansible script that works with containers on that system, or do some fancy ssh tunnel, but it is easier to just use command or shell and run docker exec
.
Thoughts?