Report this

What is the reason for this report?

how to configure docker with floating ip?

Posted on July 20, 2017

Hi Guys,

On my Droplet, let’s say

i have IP ADDRESS: X.X.X.99 I assign a new floating IP address like: X.X.X.100

I would like to run two docker container like that

docker run --name mynginx1 -p X.X.X.99:80:80 nginx docker run --name mynginx2 -p X.X.X.100:80:80 nginx

The second command is not working so far.

What should i do to make it work?

Thank you!

Antoine

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.