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 4.30 recipe #638

Open
trugsc opened this issue May 21, 2024 · 1 comment
Open

docker 4.30 recipe #638

trugsc opened this issue May 21, 2024 · 1 comment

Comments

@trugsc
Copy link

trugsc commented May 21, 2024

When running postinstall munki script the App disappears in applications/docker
Removing postinstall script. Docker app is present but when starting App the error occurs:

Directory permission error
You don't have write access to /Users//.docker
Delete it or fix its permissions before restarting Docker Desktop.

required compatibility check: Directory permission error

@ehjmx
Copy link

ehjmx commented Jun 3, 2024

The same issue exists with the pkg recipes from smithjw. I did some debugging and took a look into the docker install documentation to see if I can solve the issue but I ended up with a complete rewrite of the postinstall script for the pkg recipe and some additional modifications
I now put the downloaded dmg into /private/tmp and the postinstall script mounts the dmg, gets the current username calls install with the --user=<username> --accept-license, unmounts and deletes the dmg.
I haven't had the time to take a look at the munki recipe but I assume that something similar is necessary. Munki at the moment has a low priority as we only provide packages to the affected client and none of our clients that uses Munki for patching uses Docker at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants