We have a need to deploy Docker Desktop updates.
Our end users do NOT have local admin.
Once the updates are installed and the app is launched said user's are then prompted to input admin credentials for a Docker Helper Tool installation.
Is there a workaround for this either via installing the Helper Tool for Docker via JAMF or somehow approving the install etc?
also came across this one github "https://gist.github.com/SamStenton/716fb44fae9d59b320a4b92108af0beb"
having issue downloading it to the "download" so change it to /private/tmp/ location. tested and works great.
#!/bin/bash if [[ `uname -m` == 'arm64' ]]; then # Apple Silicon echo 'Downloading Apple Silcon release' curl -o /private/tmp/Docker.dmg https://desktop.docker.com/mac/main/arm64/Docker.dmg else # Intel echo 'Downloading Apple Intel release' curl -o /private/tmp/Docker.dmg https://desktop.docker.com/mac/main/amd64/Docker.dmg # curl -o ~/Downloads/Docker.dmg https://desktop.docker.com/mac/main/amd64/72729/Docker.dmg #old version to test updating fi # Mount image hdiutil attach /private/tmp/Docker.dmg # Copy to Applcation folder rm -rf /Applications/Docker.app # For updates remove the old app cp -R /Volumes/Docker/Docker.app /Applications # Install docker privilaged components /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components # Accept license (doesn't seem to be working) open -a /Applications/Docker.app --args --unattended --accept-license # Clean up. echo 'Cleaning up' hdiutil unmount /Volumes/Docker/Docker.app rm /private/tmp/Docker.dmg
So on the flip side, do any of you have a workflow to *remove* Docker? Thanks to their recent license change, we have to remove it from the whole of our fleet!
We kinda of hacked a simple "remove" script together, but finding that people are smart, and just installing it to folders other than /Applications, which screws up our simple script.
Any tips would be greatly appreciated.