Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to force docker-machine to use private IP instead public
I’m using GitLab runners in autoscale mode with DigitalOcean.
I notice that GitLab runner by using Docker Machine use Public IP instead Private.
--digitalocean-private-networking option, but it changes nothing.
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?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×