Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker FMA installation fails with current install script #25874

Open
jahzielv opened this issue Jan 29, 2025 · 0 comments
Open

Docker FMA installation fails with current install script #25874

jahzielv opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels
bug Something isn't working as documented #g-software Software product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~unreleased bug This bug was found in an unreleased version of Fleet.
Milestone

Comments

@jahzielv
Copy link
Contributor

Fleet version: 4.63.0

Web browser and operating system: macOS


💥  Actual behavior

  1. Installing Docker FMA fails and produces this output:
Installing software...
Failed
<?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>system-entities</key>
	<array>
		<dict>
			<key>content-hint</key>
			<string>EFI</string>
			<key>dev-entry</key>
			<string>/dev/disk4s1</string>
			<key>potentially-mountable</key>
			<true/>
			<key>unmapped-content-hint</key>
			<string>C12A7328-F81F-11D2-BA4B-00A0C93EC93B</string>
			<key>volume-kind</key>
			<string>msdos</string>
		</dict>
		<dict>
			<key>content-hint</key>
			<string>Apple_HFS</string>
			<key>dev-entry</key>
			<string>/dev/disk4s2</string>
			<key>mount-point</key>
			<string>/private/tmp/dmg_mount_t9Ma1q</string>
			<key>potentially-mountable</key>
			<true/>
			<key>unmapped-content-hint</key>
			<string>48465300-0000-11AA-AA11-00306543ECAC</string>
			<key>volume-kind</key>
			<string>hfs</string>
		</dict>
		<dict>
			<key>content-hint</key>
			<string>GUID_partition_scheme</string>
			<key>dev-entry</key>
			<string>/dev/disk4</string>
			<key>potentially-mountable</key>
			<false/>
			<key>unmapped-content-hint</key>
			<string>GUID_partition_scheme</string>
		</dict>
	</array>
</dict>
</plist>
"disk4" ejected.
false
Quitting application 'com.docker.docker'...
Application 'com.docker.docker' quit successfully.
ln: /usr/local/bin/docker: No such file or directory
ln: /usr/local/bin/docker-credential-desktop: No such file or directory
ln: /usr/local/bin/docker-credential-ecr-login: No such file or directory
ln: /usr/local/bin/docker-credential-osxkeychain: No such file or directory
ln: /usr/local/bin/hub-tool: No such file or directory
ln: /usr/local/cli-plugins/docker-compose: No such file or directory
ln: /usr/local/bin/kubectl.docker: No such file or directory
  1. The Docker GUI doesn't quit when doing a re-install

🧑‍💻  Steps to reproduce

  1. Install Docker on a macOS host via FMA
  2. Note that the installation fails with the above output
  3. Update the install script to remove the ln calls at the end
  4. Install. Note that the install succeeds.
  5. Open the Docker app on the host.
  6. Re-install. Note that the re-install succeeds, but the GUI and menu bar icon are not closed.

🕯️ More info (optional)

🛠️ To fix

the edits would be to this migration + the script generation code). We need to

  • Remove the symlinks added to the scripts
  • add a call to quit_application 'com.electron.dockerdesktop' to make sure the GUI and menu bar close
@jahzielv jahzielv added #g-software Software product group :incoming New issue in triage process. :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. bug Something isn't working as documented ~unreleased bug This bug was found in an unreleased version of Fleet. labels Jan 29, 2025
@mostlikelee mostlikelee removed the :incoming New issue in triage process. label Jan 29, 2025
@mostlikelee mostlikelee added this to the 4.63.0 milestone Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as documented #g-software Software product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~unreleased bug This bug was found in an unreleased version of Fleet.
Development

No branches or pull requests

3 participants