Closed kenchan0130 closed 3 weeks ago
Is there a use case to run the command line installer if you've manually copied the app bundle to the Applications directory?
The installation steps documented at Manuals / Docker Desktop / Install / Mac / Install Docker Desktop on Mac suggest running the install command from the volume mount.
sudo /Volumes/Docker/Docker.app/Contents/MacOS/install
@built2order
In CI, Docker.app
is a large file size and I wanted to cache it without mounting it, so I saved it in a separate directory. The directory does not have to be /Applications
, but I think there are use cases where it can be copied to any directory.
I've experienced this error in my environment as well. My use case is deploying Docker Desktop for non-admin users at my organization. I install Docker via Installomator, which places the .app in the /Applications folder. Then I run install
with the --user flag to allow the non-admin user to start the app without having to manually configure settings.
The error I'm seeing from my MDM is as follows: Error: installing docker cli plugins: reading the cli plugins folder: open /Applications/Docker.app/Contents/Resources/cli-plugins: no such file or directory
. The Docker.app is also deleted from /Applications, I assume due to the install script.
@seanchristians If only with respect to Installomator, you can refer to the relevant amended https://github.com/Installomator/Installomator/pull/1679.
This is a known bug, thanks for reporting! We're planning to get a fix ready in 4.32
As a workaround, you can run the install binary directly from the mounted dmg (or a separate directory that is not /Applications) 👍
Description
After running the
install
command,Docker.app
will be removed from the directory.Reproduce
Docker.app
to/Applications
directory/Applications/Docker.app/Contents/MacOS/install
Expected behavior
/Applications/Docker.app/Contents/MacOS/install
command does not delete Docker.app and install some tools (or plugins).docker version
docker info
Diagnostics ID
Docker.app is deleted before installation, so the docker command does not exist.
Additional Info
The file contents of the
/Applications/Docker.app/Contents/Info.plist
following: