Title here
Summary here
brew
Consider to using the official documentation
Docker for Mac is GUI tool and requires the CASK option in brew
# installing Docker via brew using '--cask'
$ brew install --cask docker
Create a daemon file in /Library/LaunchDaemons
named as something.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>docker-daemon.plist</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/dockerd</string>
<string>-H</string>
<string>tcp://127.0.0.1:2375</string>
<string>-H</string>
<string>unix:///var/run/docker.sock</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
# now enable and start the newly created file
> launchctl load /Library/LaunchDaemons/docker-daemon.plist
> launchctl enable system/docker-daemon.plist