Docker Community Forums

Share and learn in the Docker community.

Is it possible to have a docker machine (with containers) start after boot on a Mac?


#1

I’m looking into Docker and I have been trying to get docker running on a Mac. This works, but I would like to have a machine (with some containers providing services) start automatically when the Mac boots.

I have been able to get a docker-machine running starting from a launchd .plist in /Library/LaunchDaemons but when I reboot the VBoxHeadless is not started (I have Virtualbox 6 installed).

Is there a way to make this auto-start at boot (without anyone logged in) happen?