Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions content/manuals/desktop/faqs/general.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,40 @@

It is not possible to pass through a USB device (or a
serial port) to a container as it requires support at the hypervisor level.

### How do I run Docker Desktop without administrator privileges?

Check warning on line 69 in content/manuals/desktop/faqs/general.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Docker.HeadingLength] Try to keep headings short (< 8 words). Raw Output: {"message": "[Docker.HeadingLength] Try to keep headings short (\u003c 8 words).", "location": {"path": "content/manuals/desktop/faqs/general.md", "range": {"start": {"line": 69, "column": 5}}}, "severity": "INFO"}

Docker Desktop requires administrator privileges only for installation. Once installed, administrator privileges are not needed to run it. However, for non-admin users to run Docker Desktop, it must be installed using a specific installer flag and meet certain prerequisites, which vary by platform.

Check warning on line 71 in content/manuals/desktop/faqs/general.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Docker.RecommendedWords] Consider using 'administrator' instead of 'admin' Raw Output: {"message": "[Docker.RecommendedWords] Consider using 'administrator' instead of 'admin'", "location": {"path": "content/manuals/desktop/faqs/general.md", "range": {"start": {"line": 71, "column": 157}}}, "severity": "INFO"}

{{< tabs >}}
{{< tab name="Mac" >}}

To run Docker Desktop on Mac without requiring administrator privileges, install via the command line and pass the `—user=<userid>` installer flag:

```console
$ /Applications/Docker.app/Contents/MacOS/install --user=<userid>
```

You can then sign in to your machine with the user ID specified, and launch Docker Desktop.

> [!NOTE]
>
> Before launching Docker Desktop, if a `settings.json` file already exists in the `~/Library/Group Containers/group.com.docker/` directory, you will see a **Finish setting up Docker Desktop** window that prompts for administrator privileges when you select **Finish**. To avoid this, ensure you delete the `settings.json` file left behind from any previous installations before launching the application.

{{< /tab >}}
{{< tab name="Windows" >}}

> [!NOTE]
>
> If you are using the WSL 2 backend, first make sure that you meet the [minimum required version](/manuals/desktop/wsl/best-practices.md) for WSL 2. Otherwise, update WSL 2 first.

To run Docker Desktop on Windows without requiring administrator privileges, install via the command line and pass the `—always-run-service` installer flag.

```console
$ "Docker Desktop Installer.exe" install —always-run-service
```

{{< /tab >}}
{{< /tabs >}}


4 changes: 4 additions & 0 deletions content/manuals/desktop/install/mac-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ This page contains download URLs, information about system requirements, and ins

## Install and run Docker Desktop on Mac

> [!TIP]
>
> See the [FAQs](/manuals/desktop/faqs/general.md#how-do-I-run-docker-desktop-without-administrator-privileges) on how to install and run Docker Desktop without needing administrator privileges.

### Install interactively

1. Download the installer using the download buttons at the top of the page, or from the [release notes](../release-notes.md).
Expand Down
4 changes: 4 additions & 0 deletions content/manuals/desktop/install/windows-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ again when you switch back.

## Install Docker Desktop on Windows

> [!TIP]
>
> See the [FAQs](/manuals/desktop/faqs/general.md#how-do-I-run-docker-desktop-without-administrator-privileges) on how to install and run Docker Desktop without needing administrator privileges.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: The URL takes to the FAQs page, but not to the section on running without admin privileges

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's a url issue. Will investigate in a follow-up


### Install interactively

1. Download the installer using the download button at the top of the page, or from the [release notes](../release-notes.md).
Expand Down
Loading