MacOS docker hanging on config file

Viewed 461

I have edited the my docker preferences in the advanced section, where you can paste in JSON and restart. I have added the below and the application never starts, it says to reset if it hangs (which I do) but gives me no cause as to why it hangs. checking the documentation my JSON looks valid.

config as per the below:

{
  "experimental" : true,
  "bip" : "192.168.16.1/20",
  "debug" : true,
  "default-gateway" : "192.168.17.1",
  "dns" : [
    "10.50.0.1"
  ],
  "fixed-cidr" : "192.168.17.0/24",
  "ip-forward": true
}

and the attached screen docker settings

I've tried it with just the two settings it doesn't work still. I tried it with fixed-cidr on its own, it was accepted but the change didn't reflect in my image, the machine was still on its default 172.17.0.0/16

EDIT: ok settings have been accepted as per the below:

{
  "experimental" : true,
  "bip" : "192.168.16.1/20",
  "debug" : true,
  "default-gateway" : "192.168.17.1",
  "dns" : [
    "10.50.0.1"
  ],
  "fixed-cidr" : "192.168.17.0/24"
}

however the bridge is now not working, I cannot ping from my VM outside the VM network, do I need to do something additional to nat the new bridge (was a new bridge created when I did this or was the original edited?)

Thanks

1 Answers
Related