Docker Community Forums

Share and learn in the Docker community.

Docker for Mac unattended installation

(Danchevv) #1


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 ?


(Danchevv) #2

Update: it is possible to automate this step.

/bin/cp /Applications/ /Library/PrivilegedHelperTools
/bin/cp /Applications/ /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.

(Xyzlaurent) #3

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?