Kitematic: Allow static IP Addresses for containers

Created on 26 May 2015  路  6Comments  路  Source: docker/kitematic

This is probably just something with our implementation, but the fact that "dev" changes from 192.169.99.100 is causing us problems. We're trying to script some of the setup steps and document some troubleshooting advice for folks ... and that changing IP keeps biting me.

"Hey ... do all off this stuff AND make sure and find the IP address and then change it in these commands that you have to copy and paste" makes for a bad experience for the inexperienced users that is our intended audience.

Possible to lock that down somehow?

exproficient help wanted

All 6 comments

I think this is more of a docker-machine issue, as using the virtualbox driver, you cannot dynamically provide a different machine IP than the 192.168.99.100 they have provided in their dhcpserver settings.

I believe you could create a new host-only interface and associate your dev vbox with it to get the IP you want.

Why do you need to change the IP address in the first place?

We don't want it to change. Ever

What happens is that if you have an issue and have to delete or stop the Dev machine... When it comes back up it'll now have a new IP like .101

That makes my bash scripts sad

I am having this issue where I get mismatches of SSH keys and have to rebuild the virtual machine. Each time I do, the IP address goes up by one and I can't find where to get it back to 192...100 where other tools expect it to be.

@ssteinerx Take a look at Docker for Mac (https://beta.docker.com) - It solves a lot of these issues.

@FrenchBen Hopefully they'll 'be in contact soon.' Fortunately, shutting down VirtualBox and waiting until the DHCP lease expires (long enough to get tea) is a work around.

i'am running jenkins container ,so i need to access my jenkins by other laptop
please help me ..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

EugeneKrapivin picture EugeneKrapivin  路  4Comments

rick02840 picture rick02840  路  3Comments

jwschram picture jwschram  路  4Comments

louia picture louia  路  3Comments

Ashish0410verma picture Ashish0410verma  路  3Comments