Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I run Docker Desktop on Windows without admin privileges?

Tags:

I know I need admin rights to install Docker Desktop; but do I have to be an admin to run it? The documentation doesn't say that I do, and Googling doesn't suggest that either; but if I try to run it as a non-privileged user, the process is killed instantly and I get an event-log entry saying "Process requires elevated rights to run."

I'm running Windows 10 Enterprise in a corporate environment and we have non-privileged accounts. Is Docker Desktop not available in this situation or have I just installed it incorrectly somehow?

like image 489
Ed Graham Avatar asked Nov 01 '19 18:11

Ed Graham


People also ask

How do I run Docker without root privileges?

Rootless Docker in Docker To run Rootless Docker inside “rootful” Docker, use the docker:<version>-dind-rootless image instead of docker:<version>-dind . The docker:<version>-dind-rootless image runs as a non-root user (UID 1000).

Can you run Docker on Windows without Docker desktop?

You can also run docker-compose up as per normal but without needing Docker Desktop.

Can you use Docker desktop without signing in?

đź”— Yes, you can use Docker Desktop offline. However, you cannot access features that require an active internet connection. Additionally, any functionality that requires you to sign won't work while using Docker Desktop offline or in air-gapped environments.

Can I use Docker desktop for personal use?

Visit our FAQs page → *Docker Desktop is free to use, as part of the Docker Personal subscription, for individuals, non-commercial open source developers, students and educators, and small businesses of less than 250 employees AND less than $10 million in revenue.


1 Answers

As of Docker Desktop 2.4 (possibly earlier, I haven't tested) this is supported. From the Windows installation instructions:

If your admin account is different to your user account, you must add the user to the docker-users group. Run Computer Management as an administrator and navigate to Local Users and Groups > Groups > docker-users. Right-click to add the user to the group. Log out and log back in for the changes to take effect.

like image 126
Simon Brady Avatar answered Sep 18 '22 15:09

Simon Brady