Skip to content

Avoid giving admin privileges after restart on MacOS #1814

Answered by jandubois
AlbertoFemenias asked this question in Q&A
Discussion options

You must be logged in to vote

The reason for the prompt is that macOS completely deletes the contents of /var/run on each reboot.

We are getting rid of /var/run/rancher-desktoplima in the next release for that reason. We are going to create the files directly inside the /var/run directory (with a rancher-desktop prefix in the filename) to avoid having to recreate the directory.

We have not yet implemented a way to create the docker socket in a user-owned location, so this will continue to prompt for sudo access unless you switch to containerd and nerdctl.

See also #1820 for some work-in-progress. It mentions the need for a followup PR to move the docker socket location. Unfortunately it looks like these changes will n…

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
12 replies
@jsfr
Comment options

@jandubois
Comment options

@sebastianhaberey
Comment options

@jandubois
Comment options

@jandubois
Comment options

Answer selected by AlbertoFemenias
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants