default docker port configuration
Posted: Wed May 13, 2020 6:30 am
I was using Portainer to connect to my docker container
The portainer endpoint was configured:
Name: mydocker
Endpoint URL: a.b.c.d:2375
Public IP: a.b.c.d
This used to work, now it doesn't. I noticed there was an update that says Docker now only allows local access only.
Of course I immediately tried:
Name: mydocker
Endpoint URL:0.0.0.0:2375
Public IP: 0.0.0.0
And that didn't work. Because portainer is a container running on that same dockerd and 0.0.0.0 is the portainer container, NOT the asustor box.
And that is my problem. Where do I configure this to allow other than local connectivity?
By the way, when i try to connect it says the endpoint is down, but its obviously up as portainer is a container itself. From the cli I can do a docker ps and see my containers running, start, stop and otherwise manage. I just can't seem to figure out what file the config is in so I can modify for external access.
thanks for any assistance.
The portainer endpoint was configured:
Name: mydocker
Endpoint URL: a.b.c.d:2375
Public IP: a.b.c.d
This used to work, now it doesn't. I noticed there was an update that says Docker now only allows local access only.
Of course I immediately tried:
Name: mydocker
Endpoint URL:0.0.0.0:2375
Public IP: 0.0.0.0
And that didn't work. Because portainer is a container running on that same dockerd and 0.0.0.0 is the portainer container, NOT the asustor box.
And that is my problem. Where do I configure this to allow other than local connectivity?
By the way, when i try to connect it says the endpoint is down, but its obviously up as portainer is a container itself. From the cli I can do a docker ps and see my containers running, start, stop and otherwise manage. I just can't seem to figure out what file the config is in so I can modify for external access.
thanks for any assistance.