You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -47,7 +47,7 @@ _For checksums, see [Release notes](/manuals/desktop/release-notes.md)_
47
47
{{< tabs >}}
48
48
{{< tab name="WSL 2 backend, x86_64" >}}
49
49
50
-
- WSL version 2.1.5 or later.
50
+
- WSL version 2.1.5 or later. To check your version, see [WSL: Verification and setup](#wsl-verification-and-setup)
51
51
- Windows 10 64-bit: Enterprise, Pro, or Education version 22H2 (build 19045).
52
52
- Windows 11 64-bit: Enterprise, Pro, or Education version 23H2 (build 22631) or higher.
53
53
- Turn on the WSL 2 feature on Windows. For detailed instructions, refer to the
@@ -67,7 +67,7 @@ For more information on setting up WSL 2 with Docker Desktop, see [WSL](/manuals
67
67
68
68
> [!IMPORTANT]
69
69
>
70
-
> To run Windows containers, you need Windows 10 or Windows 11 Professional or Enterprise edition.
70
+
> To run [Windows containers](#windows-containers), you need Windows 10 or Windows 11 Professional or Enterprise edition.
71
71
> Windows Home or Education editions only allow you to run Linux containers.
72
72
73
73
{{< /tab >}}
@@ -91,13 +91,13 @@ For more information on setting up WSL 2 with Docker Desktop, see [WSL](/manuals
91
91
92
92
> [!IMPORTANT]
93
93
>
94
-
> To run Windows containers, you need Windows 10 or Windows 11 Professional or Enterprise edition.
94
+
> To run [Windows containers](#windows-containers), you need Windows 10 or Windows 11 Professional or Enterprise edition.
95
95
> Windows Home or Education editions only allow you to run Linux containers.
96
96
97
97
{{< /tab >}}
98
98
{{< tab name="WSL 2 backend, Arm (Early Access)" >}}
99
99
100
-
- WSL version 2.1.5 or later.
100
+
- WSL version 2.1.5 or later. To check your version, see [WSL: Verification and setup](#wsl-verification-and-setup)
101
101
- Windows 10 64-bit: Enterprise, Pro, or Education version 22H2 (build 19045).
102
102
- Windows 11 64-bit: Enterprise, Pro, or Education version 23H2 (build 22631) or higher.
103
103
- Turn on the WSL 2 feature on Windows. For detailed instructions, refer to the
@@ -124,81 +124,8 @@ Running Docker Desktop inside a VMware ESXi or Azure VM is supported for Docker
124
124
It requires enabling nested virtualization on the hypervisor first.
125
125
For more information, see [Running Docker Desktop in a VM or VDI environment](/manuals/desktop/setup/vm-vdi.md).
126
126
127
-
{{< accordion title="How do I switch between Windows and Linux containers?" >}}
128
-
129
-
From the Docker Desktop menu, you can toggle which daemon (Linux or Windows)
130
-
the Docker CLI talks to. Select **Switch to Windows containers** to use Windows
131
-
containers, or select **Switch to Linux containers** to use Linux containers
132
-
(the default).
133
-
134
-
For more information on Windows containers, refer to the following documentation:
135
-
136
-
- Microsoft documentation on [Windows containers](https://docs.microsoft.com/en-us/virtualization/windowscontainers/about/index).
137
-
138
-
-[Build and Run Your First Windows Server Container (Blog Post)](https://www.docker.com/blog/build-your-first-docker-windows-server-container/)
139
-
gives a quick tour of how to build and run native Docker Windows containers on Windows 10 and Windows Server 2016 evaluation releases.
140
-
141
-
-[Getting Started with Windows Containers (Lab)](https://github.com/docker/labs/blob/master/windows/windows-containers/README.md)
142
-
shows you how to use the [MusicStore](https://github.com/aspnet/MusicStore/)
143
-
application with Windows containers. The MusicStore is a standard .NET application and,
144
-
[forked here to use containers](https://github.com/friism/MusicStore), is a good example of a multi-container application.
145
-
146
-
- To understand how to connect to Windows containers from the local host, see
147
-
[I want to connect to a container from Windows](/manuals/desktop/features/networking.md#i-want-to-connect-to-a-container-from-the-host)
148
-
149
-
> [!NOTE]
150
-
>
151
-
> When you switch to Windows containers, **Settings** only shows those tabs that are active and apply to your Windows containers.
152
-
153
-
If you set proxies or daemon configuration in Windows containers mode, these
154
-
apply only on Windows containers. If you switch back to Linux containers,
155
-
proxies and daemon configurations return to what you had set for Linux
156
-
containers. Your Windows container settings are retained and become available
157
-
again when you switch back.
158
-
159
-
{{< /accordion >}}
160
-
161
-
## Administrator privileges and installation requirements
162
-
163
-
Installing Docker Desktop requires administrator privileges. However, once installed, it can be used without administrative access. Some actions, though, still need elevated permissions. See [Understand permission requirements for Windows](./windows-permission-requirements.md) for more detail.
164
-
165
-
If your users do not have administrator rights and plan to perform operations that require elevated privileges, be sure to install Docker Desktop using the `--always-run-service` installer flag. This ensures those actions can still be executed without prompting for User Account Control (UAC) elevation. See [Installer Flags](#installer-flags) for more detail.
166
-
167
-
## WSL: Verification and setup
168
-
169
-
If you have chosen to use WSL, first verify that your installed version meets system requirements by running the following command in your terminal:
170
-
171
-
```console
172
-
wsl --version
173
-
```
174
-
175
-
If version details do not appear, you are likely using the inbox version of WSL. This version does not support modern capabilities and must be updated.
176
-
177
-
You can update or install WSL using one of the following methods:
178
-
179
-
### Option 1: Install or update WSL via the terminal
180
-
181
-
1. Open PowerShell or Windows Command Prompt in administrator mode.
182
-
2. Run either the install or update command. You may be prompted to restart your machine. For more information, refer to [Install WSL](https://learn.microsoft.com/en-us/windows/wsl/install).
183
-
```console
184
-
wsl --install
185
-
186
-
wsl --update
187
-
```
188
-
189
-
### Option 2: Install WSL via the MSI package
190
-
191
-
If Microsoft Store access is blocked due to security policies:
192
-
1. Go to the official [WSL GitHub Releases page](https://github.com/microsoft/WSL/releases).
193
-
2. Download the `.msi` installer from the latest stable release (under the Assets drop-down).
194
-
3. Run the downloaded installer and follow the setup instructions.
195
-
196
127
## Install Docker Desktop on Windows
197
128
198
-
> [!TIP]
199
-
>
200
-
> See the [FAQs](/manuals/desktop/troubleshoot-and-support/faqs/general.md#how-do-i-run-docker-desktop-without-administrator-privileges) on how to install and run Docker Desktop without needing administrator privileges.
201
-
202
129
### Install interactively
203
130
204
131
1. Download the installer using the download button at the top of the page, or from the [release notes](/manuals/desktop/release-notes.md).
By default, Docker Desktop is installed at `C:\Program Files\Docker\Docker`.
246
173
247
-
#### Installer flags
174
+
If your administrator account is different to your user account, you must add the user to the **docker-users** group to access features that require higher privileges, such as creating and managing the Hyper-V VM, or using Windows containers.
175
+
176
+
```console
177
+
$ net localgroup docker-users <user> /add
178
+
```
179
+
180
+
See the [Installer flags](#installer-flags) section to see what flags the `install` command accepts.
181
+
182
+
## Start Docker Desktop
183
+
184
+
Docker Desktop does not start automatically after installation. To start Docker Desktop:
185
+
186
+
1. Search for Docker, and select **Docker Desktop** in the search results.
187
+
188
+
2. The Docker menu ({{< inline-image src="images/whale-x.svg" alt="whale menu" >}}) displays the Docker Subscription Service Agreement.
189
+
190
+
{{% include "desktop-license-update.md" %}}
191
+
192
+
3. Select **Accept** to continue. Docker Desktop starts after you accept the terms.
193
+
194
+
Note that Docker Desktop won't run if you do not agree to the terms. You can choose to accept the terms at a later date by opening Docker Desktop.
195
+
196
+
For more information, see [Docker Desktop Subscription Service Agreement](https://www.docker.com/legal/docker-subscription-service-agreement/). It is recommended that you read the [FAQs](https://www.docker.com/pricing/faq).
197
+
198
+
> [!TIP]
199
+
>
200
+
> As an IT administrator, you can use endpoint management (MDM) software to identify the number of Docker Desktop instances and their versions within your environment. This can provide accurate license reporting, help ensure your machines use the latest version of Docker Desktop, and enable you to [enforce sign-in](/manuals/enterprise/security/enforce-sign-in/_index.md).
## Advanced system configuration and installation options
209
+
210
+
### WSL: Verification and setup
211
+
212
+
If you have chosen to use WSL, first verify that your installed version meets system requirements by running the following command in your terminal:
213
+
214
+
```console
215
+
wsl --version
216
+
```
217
+
218
+
If version details do not appear, you are likely using the inbox version of WSL. This version does not support modern capabilities and must be updated.
219
+
220
+
You can update or install WSL using one of the following methods:
221
+
222
+
#### Option 1: Install or update WSL via the terminal
223
+
224
+
1. Open PowerShell or Windows Command Prompt in administrator mode.
225
+
2. Run either the install or update command. You may be prompted to restart your machine. For more information, refer to [Install WSL](https://learn.microsoft.com/en-us/windows/wsl/install).
226
+
```console
227
+
wsl --install
228
+
229
+
wsl --update
230
+
```
231
+
232
+
#### Option 2: Install WSL via the MSI package
233
+
234
+
If Microsoft Store access is blocked due to security policies:
235
+
1. Go to the official [WSL GitHub Releases page](https://github.com/microsoft/WSL/releases).
236
+
2. Download the `.msi` installer from the latest stable release (under the Assets drop-down).
237
+
3. Run the downloaded installer and follow the setup instructions.
238
+
239
+
### Installer flags
248
240
249
241
> [!NOTE]
250
242
>
@@ -254,31 +246,23 @@ By default, Docker Desktop is installed at `C:\Program Files\Docker\Docker`.
If your admin account is different to your user account, you must add the user to the **docker-users** group to access features that require higher privileges, such as creating and managing the Hyper-V VM, or using Windows containers.
258
-
259
-
```console
260
-
$ net localgroup docker-users <user> /add
261
-
```
262
-
263
-
The `install` command accepts the following flags:
264
-
265
-
##### Installation behavior
249
+
#### Installation behavior
266
250
267
251
- `--quiet`: Suppresses information output when running the installer
268
252
- `--accept-license`: Accepts the [Docker Subscription Service Agreement](https://www.docker.com/legal/docker-subscription-service-agreement) now, rather than requiring it to be accepted when the application is first run
269
253
- `--installation-dir=<path>`: Changes the default installation location (`C:\Program Files\Docker\Docker`)
270
254
- `--backend=<backend name>`: Selects the default backend to use for Docker Desktop, `hyper-v`, `windows` or `wsl-2` (default)
271
255
- `--always-run-service`: After installation completes, starts `com.docker.service` and sets the service startup type to Automatic. This circumvents the need for administrator privileges, which are otherwise necessary to start `com.docker.service`. `com.docker.service` is required by Windows containers and Hyper-V backend.
272
256
273
-
#####Security and access control
257
+
#### Security and access control
274
258
275
259
- `--allowed-org=<org name>`: Requires the user to sign in and be part of the specified Docker Hub organization when running the application
276
260
- `--admin-settings`: Automatically creates an `admin-settings.json` file which is used by admins to control certain Docker Desktop settings on client machines within their organization. For more information, see [Settings Management](/manuals/enterprise/security/hardened-desktop/settings-management/_index.md).
277
261
- It must be used together with the `--allowed-org=<org name>` flag.
- `--no-windows-containers`: Disables the Windows containers integration. This can improve security. For more information, see [Windows containers](/manuals/desktop/setup/install/windows-permission-requirements.md#windows-containers).
280
264
281
-
#####Proxy configuration
265
+
#### Proxy configuration
282
266
283
267
- `--proxy-http-mode=<mode>`: Sets the HTTP Proxy mode, `system` (default) or `manual`
284
268
- `--override-proxy-http=<URL>`: Sets the URL of the HTTP proxy that must be used for outgoing HTTP requests, requires `--proxy-http-mode` to be `manual`
@@ -288,48 +272,63 @@ The `install` command accepts the following flags:
288
272
- `--override-proxy-pac=<PAC file URL>`: Sets the PAC file URL. This setting takes effect only when using `manual` proxy mode.
289
273
- `--override-proxy-embedded-pac=<PAC script>`: Specifies an embedded PAC (Proxy Auto-Config) script. This setting takes effect only when using `manual` proxy mode and has precedence over the `--override-proxy-pac` flag.
-`--hyper-v-default-data-root=<path>`: Specifies the default location for the Hyper-V VM disk.
306
290
-`--windows-containers-default-data-root=<path>`: Specifies the default location for the Windows containers.
307
291
-`--wsl-default-data-root=<path>`: Specifies the default location for the WSL distribution disk.
308
292
309
-
##Start Docker Desktop
293
+
### Administrator privileges
310
294
311
-
Docker Desktop does not start automatically after installation. To start Docker Desktop:
295
+
Installing Docker Desktop requires administrator privileges. However, once installed, it can be used without administrative access. Some actions, though, still need elevated permissions. See [Understand permission requirements for Windows](./windows-permission-requirements.md) for more detail.
312
296
313
-
1. Search for Docker, and select **Docker Desktop** in the search results.
297
+
See the [FAQs](/manuals/desktop/troubleshoot-and-support/faqs/general.md#how-do-i-run-docker-desktop-without-administrator-privileges) on how to install and run Docker Desktop without needing administrator privileges.
314
298
315
-
2. The Docker menu ({{< inline-image src="images/whale-x.svg" alt="whale menu" >}}) displays the Docker Subscription Service Agreement.
299
+
If you're an IT admin and your users do not have administrator rights and plan to perform operations that require elevated privileges, be sure to install Docker Desktop using the `--always-run-service` installer flag. This ensures those actions can still be executed without prompting for User Account Control (UAC) elevation. See [Installer Flags](#installer-flags) for more detail.
316
300
317
-
{{% include "desktop-license-update.md" %}}
301
+
### Windows containers
318
302
319
-
3. Select **Accept** to continue. Docker Desktop starts after you accept the terms.
303
+
From the Docker Desktop menu, you can toggle which daemon (Linux or Windows)
304
+
the Docker CLI talks to. Select **Switch to Windows containers** to use Windows
305
+
containers, or select **Switch to Linux containers** to use Linux containers
306
+
(the default).
320
307
321
-
Note that Docker Desktop won't run if you do not agree to the terms. You can choose to accept the terms at a later date by opening Docker Desktop.
308
+
For more information on Windows containers, refer to the following documentation:
322
309
323
-
For more information, see [Docker Desktop Subscription Service Agreement](https://www.docker.com/legal/docker-subscription-service-agreement/). It is recommended that you read the [FAQs](https://www.docker.com/pricing/faq).
310
+
- Microsoft documentation on [Windows containers](https://docs.microsoft.com/en-us/virtualization/windowscontainers/about/index).
324
311
325
-
> [!TIP]
312
+
-[Build and Run Your First Windows Server Container (Blog Post)](https://www.docker.com/blog/build-your-first-docker-windows-server-container/)
313
+
gives a quick tour of how to build and run native Docker Windows containers on Windows 10 and Windows Server 2016 evaluation releases.
314
+
315
+
-[Getting Started with Windows Containers (Lab)](https://github.com/docker/labs/blob/master/windows/windows-containers/README.md)
316
+
shows you how to use the [MusicStore](https://github.com/aspnet/MusicStore/)
317
+
application with Windows containers. The MusicStore is a standard .NET application and,
318
+
[forked here to use containers](https://github.com/friism/MusicStore), is a good example of a multi-container application.
319
+
320
+
- To understand how to connect to Windows containers from the local host, see
321
+
[I want to connect to a container from Windows](/manuals/desktop/features/networking.md#i-want-to-connect-to-a-container-from-the-host)
322
+
323
+
> [!NOTE]
326
324
>
327
-
> As an IT administrator, you can use endpoint management (MDM) software to identify the number of Docker Desktop instances and their versions within your environment. This can provide accurate license reporting, help ensure your machines use the latest version of Docker Desktop, and enable you to [enforce sign-in](/manuals/enterprise/security/enforce-sign-in/_index.md).
0 commit comments