Enable Rest API on a TCP socket
I am new to docker, cloud formation, and alpine so the solution for my problem may be trivial.
I am trying to deploy Docker Swarm using the official cloud formation template. The deployment works fine if I do not edit it first.
I would like the rest API to listen on TCP and a Unix socket. This is well documented if you are able to start and stop docker yourself.
My question is, what should I edit in the cloud formation template that will enable TCP for the Docker API. I would prefer TCP and Unix socket but if I can only have one ill take TCP.
Please note that I fully understand the security implications of doing this.
Any help is appreciated.