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
Copy file name to clipboardExpand all lines: content/manuals/desktop/features/networking/_index.md
+24-8Lines changed: 24 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,32 @@ This page explains how Docker Desktop routes network traffic and file I/O betwee
10
10
11
11
## Overview
12
12
13
-
Docker Desktop runs the Docker Engine inside a lightweight Linux virtual machine (VM). Docker Desktop routes all network and file operations between the Docker VM and the host through the `com.docker.backend` process.
13
+
Docker Desktop runs the Docker Engine inside a lightweight Linux virtual machine (VM). Depending on your system configuration and operating system, Docker Desktop routes network and file operations between the Docker VM and the host using different backend components.
14
+
15
+
### Backend components and responsibilities
14
16
15
17
Th backend acts as:
16
18
17
-
- A network proxy, translating traffic between the host and Linux VM.
18
-
- A file server, using gRPC FUSE which handles file access from containers to the host filesystem.
19
-
- A control plane, handling Docker API calls, port forwarding, and proxy settings.
19
+
- Network proxy: Translates traffic between the host and Linux VM.
20
+
- On Windows and Mac, this is handled by the `com.docker.backend` process.
21
+
- On Linux, the `qemu` process performs this function.
22
+
- File server: Handles file access from containers to the host filesystem.
23
+
- When using gRPC FUSE, the backend performs the file sharing.
24
+
- When using `virtiofs`, `osxfs`, or `krun`, file access is handled by those respective daemons rather than the backend process.
25
+
- Control plane: Manages Docker API calls, port forwarding, and proxy configuration.
26
+
27
+
The following table summarizes typical setups in more detail:
28
+
29
+
| Platform | Setup | Networking handled by | File sharing handled by | Notes |
| macOS | DockerVMM + virtiofs | `com.docker.backend` | `com.docker.krun` | Used in certain fallback modes |
37
+
| Linux | Native Linux VM | `qemu` | `virtiofsd` | No `com.docker.backend` process on Linux |
38
+
20
39
21
40
## How containers connect to the internet
22
41
@@ -64,17 +83,14 @@ Note that:
64
83
65
84
## Firewalls and endpoint visibility
66
85
67
-
Docker Desktop doesn't include a built-in firewall.
68
-
69
86
To restrict VM or container networking apply rules to `com.docker.backend.exe` (Windows) `com.docker.backend` (Mac) or `qemu` (Linux) as all VM networking is funneled through these processes.
70
87
71
88
Use Windows Defender Firewall or enterprise endpoint firewalls for control. This enables traffic inspection and restriction at the host level without modifying the Docker Engine.
72
89
73
-
CrowdStrike and similar tools can observe all traffic and file access that passes through the backend process. To monitor in-VM operations, install the agent inside the Docker VM.
90
+
Crowdstrike and similar tools can observe all traffic and file access that passes through the backend process.
0 commit comments