David E.
David E.

Reputation: 29

Fix IP for Docker

I have deploy a docker server for learning and testing proposes, I have start by installing portainer.

When I try access portainer from publica ip, I have noted that not have given, portainer use private ip..

error during connect: Get http://remote.host:2375/v1.29/info: dial tcp: lookup remote.host on 10.1.94.8:53: no such host

I have try accessing from public ip: myip:9000 but do not working

How can I change it?

Upvotes: 1

Views: 70

Answers (1)

David E.
David E.

Reputation: 29

Thank you,

I have resolved it, by editing:

/etc/resolv.conf

And change

nameserver private ip to nameserver - public ip

Upvotes: 1

Related Questions