Docker for Mac unattended installation

Hi,

I was wondering whether it is possible to completely automate the installation ? When using a tool for mass deployment (i.e. Munki), it is possible to install the software, but in the end, the prompt for installing the networking components still requires admin credentials. Is it possible to automate this somehow ? What exactly is being done with this step ?

Regards,
VD

Update: it is possible to automate this step.

#!/bin/sh
/bin/cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools
/bin/cp /Applications/Docker.app/Contents/Resources/com.docker.vmnetd.plist /Library/LaunchDaemons/
/bin/chmod 544 /Library/PrivilegedHelperTools/com.docker.vmnetd
/bin/chmod 644 /Library/LaunchDaemons/com.docker.vmnetd.plist
/bin/launchctl load /Library/LaunchDaemons/com.docker.vmnetd.plist

Basically, you just need to copy these two files after the installation and load the launch daemon. Case closed.

This isn’t working anymore since a few versions. Newer versions are asking for authentication again even with these steps taken. Have you had any luck with an unattended install recently?