Report this

What is the reason for this report?

How to force docker-machine to use private IP instead public

Posted on August 3, 2018

Hi,

I’m using GitLab runners in autoscale mode with DigitalOcean. I notice that GitLab runner by using Docker Machine use Public IP instead Private. I precise --digitalocean-private-networking option, but it changes nothing.

When I docker-machine inspect my-machine I saw "PrivateNetworking": true but "IPAddress" is a public one.

Does this the normal behavior? Does this could be changed?

Thanks.

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.