Docker Community Forums

Share and learn in the Docker community.

Swarm created container can't access Internet

I am trying to create a cluster using swarm for Grafana (that needs to connect to aWS to get access to my EC2 instances. If I create the container manually then I add the datasource and all works fine. But if i created a clster with swarm and the container is created utomcatically by swarm the container automatically created can’t access internet (I am assuming) and the datasource in grafana can’t connect to AWS.
The only difference I can see from both containers is that the one cretaed wy swarm has the second network attached: “inner” for the route mesh (that works fine).