I'm trying to create a docker virtual machine and specifying its IP address. This is the command I am using
docker-machine create -d virtualbox --virtualbox-hostonly-cidr "192.168.99.110/24" --virtualbox-memory 4096 devmachine
However, it still assigns an IP address incremented by 1. For instance, if I have a default
virtual machine with an IP address of 192.168.99.100
, the machine that I created will be assigned an IP address of 192.168.99.101
.
How to specify the IP address when creating a docker virtual machine?