sparkfabrik / sparkdock

Automatic MacOS system provisioning
Other
20 stars 8 forks source link

IP forwarding is not enabled by default on newest boot2docker #23

Closed mgdesign closed 4 years ago

mgdesign commented 5 years ago

This should fix #22

I've removed the installation of docker to let brew decide the most appropriate dependency for the version of docker-compose we are installing. This should fix the cases where brew complains about the fact that docker in already installed when installing compose.

mgdesign commented 5 years ago

I've update the PR adding the docker-machine command to the launchctl script to ensure is included on boot of the OS.

The main problem here is that we cannot trigger that command each time dinghy is restarted, for any reason. I've added a couple of lines in the documentation to warn the user about this.

paolomainardi commented 5 years ago

@mgdesign you can re-use this file "/var/lib/boot2docker/bootlocal.sh" inside the docker-machine which is executed at boot time.