Home > other >  Under Windows docker default default address modification
Under Windows docker default default address modification

Time:10-19

I was installed in the Windows 7 docker, virtual machine default default IP is 192.168.99.100, I want to change become 192.168.7.35

CodePudding user response:

1 in a Windows command line executive docker - machine SSH/machine - the name into the VM bash
2 sudo vi/var/lib/boot2docker/profile
Change 3 DOCKER_HOST
4 restart docker service: sudo/etc/init. D/docker restart or restart VM: exit exit bash, VM performs docker - in a Windows command line machine restart

CodePudding user response:

Don't play a...
  • Related