The docker engine starts If I manually run vpnkit-bridge.exe (by opening a command prompt the run "C:\\Program Files\\Docker\\Docker\\resources\\vpnkit-bridge.exe" --disable ssh-auth,osxfs-data,transfused,filesystem-event,filesystem-test,http-proxy-control --addr stdio --wsl-distro docker-desktop host #13299
Description
openedon Mar 14, 2023
The docker engine starts If I manually run vpnkit-bridge.exe (by opening a command prompt the run "C:\\Program Files\\Docker\\Docker\\resources\\vpnkit-bridge.exe" --disable ssh-auth,osxfs-data,transfused,filesystem-event,filesystem-test,http-proxy-control --addr stdio --wsl-distro docker-desktop host
Below is the vpnkit-bridge.exe command output
Don't forget o run the command in %HOMEPATH%
`Microsoft Windows [Version 10.0.19041.985]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Sumo>cd %HOMEPATH%
C:\Users\Sumo>C:\Program Files\Docker\Docker\resources\vpnkit-bridge.exe --disable ssh-auth,osxfs-data,transfused,filesystem-event,filesystem-test,http-proxy-control --addr stdio --wsl-distro docker-desktop host
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Sumo>"C:\Program Files\Docker\Docker\resources\vpnkit-bridge.exe" --disable ssh-auth,osxfs-data,transfused,filesystem-event,filesystem-test,http-proxy-control --addr stdio --wsl-distro docker-desktop host
time="2021-05-25T15:58:36-03:00" level=info msg="[C:\\Program Files\\Docker\\Docker\\resources\\vpnkit-bridge.exe --disable ssh-auth,osxfs-data,transfused,filesystem-event,filesystem-test,http-proxy-control --addr stdio --wsl-distro docker-desktop host]"
time="2021-05-25T15:58:36-03:00" level=info msg="pid: 11508; globalOpts: addr=stdio, bootstrapHost=gateway.docker.internal, useKernelCmdline=false, wslDistro=docker-desktop, verbose=false, pidFile=, suffix=, only=, disable=ssh-auth,osxfs-data,transfused,filesystem-event,filesystem-test,http-proxy-control"
INFO[0000] [/usr/bin/vpnkit-bridge --disable ssh-auth,osxfs-data,transfused,filesystem-event,filesystem-test,http-proxy-control --pid-file=/run/vpnkit-bridge.pid --addr=stdio guest]
INFO[0000] pid: 101; globalOpts: addr=stdio, bootstrapHost=gateway.docker.internal, useKernelCmdline=false, wslDistro=, verbose=false, pidFile=/run/vpnkit-bridge.pid, suffix=, only=, disable=ssh-auth,osxfs-data,transfused,filesystem-event,filesystem-test,http-proxy-control
INFO[0000] guest: backend: polling for remote service
INFO[0000] guest: socks: polling for remote service
INFO[0000] guest: dns/tcp: polling for remote service
INFO[0000] guest: docker-proxy: polling for remote service
INFO[0000] guest: dns/udp: polling for remote service
INFO[0000] guest: gui: polling for remote service
INFO[0000] guest: filesystem: polling for remote service
INFO[0000] guest: vpnkit: polling for remote service
INFO[0000] guest: vpnkit-data: polling for remote service
INFO[0000] guest: ntp: polling for remote service
time="2021-05-25T15:58:36-03:00" level=info msg="windows: docker: polling for remote service"
time="2021-05-25T15:58:36-03:00" level=info msg="windows: debug-shell: polling for remote service"
INFO[0000] guest: backend: remote service is responding, publishing locally on /run/host-services/backend.sock
INFO[0000] guest: dns/tcp: remote service is responding, publishing locally on /run/host-services/dns.tcp.sock
INFO[0000] guest: socks: remote service is responding, publishing locally on /run/host-services/socks.sock
INFO[0000] guest: docker-proxy: remote service is responding, publishing locally on /run/host-services/docker.proxy.sock
INFO[0000] guest: dns/udp: remote service is responding, publishing locally on /run/host-services/dns.udp.sock
INFO[0000] guest: gui: remote service is responding, publishing locally on /run/host-services/gui-api.sock
time="2021-05-25T15:58:36-03:00" level=info msg="windows: wsl2-cross-distro-service: polling for remote service"
INFO[0000] guest: filesystem: remote service is responding, publishing locally on /run/host-services/filesystem.sock
time="2021-05-25T15:58:36-03:00" level=info msg="windows: diagnosticd: polling for remote service"
INFO[0000] guest: vpnkit: remote service is responding, publishing locally on /run/host-services/vpnkit.sock
INFO[0000] guest: vpnkit-data: remote service is responding, publishing locally on /run/host-services/vpnkit-data.sock
INFO[0000] guest: ntp: remote service is responding, publishing locally on /run/host-services/ntp.udp.sock
INFO[0000] guest: all remote services are running
time="2021-05-25T15:58:36-03:00" level=info msg="windows: volume-contents: polling for remote service"
time="2021-05-25T15:58:36-03:00" level=info msg="windows: lifecycle-server: polling for remote service"
time="2021-05-25T15:58:36-03:00" level=info msg="windows: mutagen: polling for remote service"
time="2021-05-25T15:58:36-03:00" level=info msg="windows: wsl2-bootstrap-expose-ports: polling for remote service"
time="2021-05-25T15:58:36-03:00" level=info msg="windows: log: polling for remote service"
time="2021-05-25T15:58:36-03:00" level=info msg="windows: wsl2-cross-distro-service: remote service is responding, publishing locally on \\.\pipe\dockerWSLCrossDistroService"
time="2021-05-25T15:58:36-03:00" level=info msg="windows: wsl2-bootstrap-expose-ports: remote service is responding, publishing locally on \\.\pipe\dockerWsl2BootstrapExposePorts"
time="2021-05-25T15:58:36-03:00" level=info msg="windows: log: remote service is responding, publishing locally on \\.\pipe\dockerMemlogdq"
time="2021-05-25T15:58:38-03:00" level=info msg="windows: debug-shell: remote service is responding, publishing locally on \\.\pipe\dockerDebugShell"
time="2021-05-25T15:58:38-03:00" level=info msg="windows: diagnosticd: remote service is responding, publishing locally on \\.\pipe\dockerDiagnosticd"
time="2021-05-25T15:58:38-03:00" level=info msg="windows: mutagen: remote service is responding, publishing locally on \\.\pipe\dockerMutagen"
time="2021-05-25T15:58:38-03:00" level=info msg="windows: lifecycle-server: remote service is responding, publishing locally on \\.\pipe\dockerLifecycleServer"
time="2021-05-25T15:58:38-03:00" level=info msg="windows: volume-contents: remote service is responding, publishing locally on \\.\pipe\volumeContents"
time="2021-05-25T15:58:46-03:00" level=info msg="windows: still waiting for docker after 10.0028817s"
time="2021-05-25T15:58:47-03:00" level=info msg="windows: docker: remote service is responding, publishing locally on \\.\pipe\docker_engine_linux"
time="2021-05-25T15:58:47-03:00" level=info msg="windows: all remote services are running"
`
Originally posted by @kingsumos in #11300 (comment)