question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Be more explicit about what running without administrative rights means

See original GitHub issue

I’ve seen several reports from Rancher Desktop 1.3.0 that show the docker socket is not available. In most (all?) of them the reason was that the user requested to run without administrative rights, and didn’t realize that this means that they have to switch docker contexts to use the docker cli.

In addition to providing a more prominent explanation, we could also go further in offering the user to switch the context to rancher-desktop for them.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
janduboiscommented, May 5, 2022

I think that we can reword the Sudo Dialog to something like this

I think that will help a bit, but I think we should also follow up with a dialog offering to change the context under the following conditions:

  • admin access refused
  • container runtime is moby
  • current docker context is not rancher-desktop

We would need to trigger the dialog also when the user switches from containerd to moby, or disables admin access in the app settings (again, if all the conditions above are true).

I assume we don’t need to bother with the --no-modal-dialogs option here because we should not be able to get to a point where this additional dialog would be triggered because the initial dialog would already be suppressed.

0reactions
cdivitacommented, May 5, 2022

I would say that the Docker context change should be automatic under the conditions highlighted by @jandubois, otherwise it will not possible to work with the Docker (moby) daemon started by Rancher Desktop.

The automatic Docker context change could be part of the Application settings and it should be selected by default (explaining the steps required to change it manually)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Force a program to run *without* administrator privileges or ...
Disable UAC on Windows 7: Start, type "user". Click on "User Account Control Settings". Drag the choice bar all the way to the...
Read more >
In Windows, what are administrators and administrative rights?
On a computer, an administrator is a local account or a local security group that has complete and unrestricted access to create, delete, ......
Read more >
Implementing Least-Privilege Administrative Models
Broad privileges are rights and permissions that allow an account to perform specific activities across a large cross-section of the environment ...
Read more >
Admin Rights and Why You Should Remove Them
Administrative credentials are key targets for attackers looking to exploit a network. Here's why you should remove admin rights. Read more.
Read more >
Local Administrator Rights are Putting Your PC in Danger! ...
Whenever you or one of your employees login to their computer, you're on a particular user account and that account has specific privileges....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found