for-win
for-win copied to clipboard
Docker 4.31.1 can't start after update, after reinstall or after clean install
Description
Hi,
I just got an update on my laptop for version 4.31.1
Processor 12th Gen Intel(R) Core(TM) i7-12700H 2.30 GHz Installed RAM 32.0 GB (31.7 GB usable) Edition Windows 11 Pro Version 23H2 Installed on 15/07/2023 OS build 22631.3737 Experience Windows Feature Experience Pack 1000.22700.1009.0
I ran com.docker.diagnose.exe check here is the output, after clean install it says Docker Engine stopped. There is space on the drive all other system metrics seem to be ok, wsl is working fine. I also tried to clean all data and reset defaults, but nothing seems to be working looks like. I also tried going back to 4.31.0 and this gives me exactly same error which docker engine is stopped. Only after comming back to v4.30.0 the engine is back and running.
.\com.docker.diagnose.exe check
Starting diagnostics
[2024-06-15T09:58:07.214490100Z][com.docker.diagnose.exe.ipc] 89b8ec92-diagnose -> \\.\pipe\dockerBackendApiServer BackendAPI
[2024-06-15T09:58:07.221712900Z][com.docker.diagnose.exe.ipc] (604873ae) 89b8ec92-diagnose C->S BackendAPI POST /idle/make-busy
[2024-06-15T09:58:07.224069000Z][com.docker.diagnose.exe.ipc] (604873ae) 89b8ec92-diagnose C<-S 91476361-BackendAPI POST /idle/make-busy (2.3561ms): 0xc000565ff8
[2024-06-15T09:58:08.227668900Z][com.docker.diagnose.exe.ipc] (ec7b2e9a) 89b8ec92-diagnose C->S BackendAPI GET /idle
[2024-06-15T09:58:08.239433400Z][com.docker.diagnose.exe.ipc] (ec7b2e9a) 89b8ec92-diagnose C<-S 91476361-BackendAPI GET /idle (11.2533ms): {"apisInFlight":{"/_ping":1,"/v1.45/info":1},"booted":true,"busyReason":["in-flight APIs: map[/_ping:1 /v1.45/info:1]","timed activities: map[/idle/make-busy:28.9850515s]"],"containers":0,"idle":"bool","kubernetesEnabled":false,"reduced":false,"services":0,"timedActivities":{"/idle/make-busy":"float64"},"vmPaused":false,"vmRunning":true,"vmStopped":false,"windowsContainers":false}
[PASS] DD0027: is there available disk space on the host?
[SKIP] DD0028: is there available VM disk space?
[SKIP] DD0002: does the bootloader have virtualization enabled?
[SKIP] DD0018: does the host support virtualization?
[PASS] DD0001: is the application running?
[SKIP] DD0022: is the Virtual Machine Platform Windows Feature enabled?
[SKIP] DD0021: is the WSL 2 Windows Feature enabled?
[PASS] DD0024: is WSL installed?
[PASS] DD0025: are WSL distros installed?
[PASS] DD0026: is the WSL LxssManager service running?
panic: errors: target must be a non-nil pointer
goroutine 1 [running]:
errors.As({0x197db20?, 0xc000096cc0?}, {0x13fbd20?, 0x0?})
errors/wrap.go:107 +0x219
github.com/docker/pinata/common/pkg/errordef.helper.As(...)
github.com/docker/pinata/common/pkg/errordef/helper.go:85
github.com/docker/pinata/common/pkg/diagkit/diagnose.wslListDisks({0x1989f50?, 0xc00014a2a0?})
github.com/docker/pinata/common/pkg/diagkit/diagnose/wsl_windows.go:239 +0x13b
github.com/docker/pinata/common/pkg/diagkit/diagnose.init.func19({0x1989f50?, 0xc0005eb030?})
github.com/docker/pinata/common/pkg/diagkit/diagnose/wsl_windows.go:182 +0x70
github.com/docker/pinata/common/pkg/diagkit/diagnose.(*test).GetResult(0x21c45c0, {0x1989f50?, 0xc0005eb030?})
github.com/docker/pinata/common/pkg/diagkit/diagnose/test.go:54 +0x134
github.com/docker/pinata/common/pkg/diagkit/diagnose.Run.func1(0x21c45c0)
github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:21 +0x56
github.com/docker/pinata/common/pkg/diagkit/diagnose.walkOnce.func1(0x6?, 0x21c45c0)
github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:147 +0x6a
github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x5, 0x21c45c0, 0xc00081f6c8)
github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:156 +0x7d
github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x4, 0x21c3c40, 0xc00081f6c8)
github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:153 +0x48
github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x3, 0x21c3cc0, 0xc00081f6c8)
github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:153 +0x48
github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x2, 0x21c3d40, 0xc00081f6c8)
github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:153 +0x48
github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x1, 0x21c3dc0, 0xc00081f6c8)
github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:153 +0x48
github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x0, 0x21c3840, 0xc00081f6c8)
github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:153 +0x48
github.com/docker/pinata/common/pkg/diagkit/diagnose.walkOnce(0x21c3840, 0xc0002bf8b8)
github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:142 +0xe5
github.com/docker/pinata/common/pkg/diagkit/diagnose.Run({0x1989f50, 0xc0005eb030}, 0x21c3840, 0x21c38c0, 0x1)
github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:20 +0x217
main.checkCmd({0xc0000963d0?, 0xc0002bff20?, 0x2?}, {0x0, 0x0})
github.com/docker/pinata/common/cmd/com.docker.diagnose/main.go:157 +0x132
main.main()
github.com/docker/pinata/common/cmd/com.docker.diagnose/main.go:116 +0x311
Reproduce
update from 4.30.0 to 4.31.1 or 4.31.0
Expected behavior
No response
docker version
Client:
Cloud integration: v1.0.35+desktop.13
Version: 26.1.1
API version: 1.45
Go version: go1.21.9
Git commit: 4cf5afa
Built: Tue Apr 30 11:46:57 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Desktop
Engine:
Version: 26.1.1
API version: 1.45 (minimum version 1.24)
Go version: go1.21.9
Git commit: ac2de55
Built: Tue Apr 30 11:48:28 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.31
GitCommit: e377cd56a71523140ca6ae87e30244719194a521
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
docker info
Client:
Version: 26.1.1
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.14.0-desktop.1
Path: /usr/local/lib/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.27.0-desktop.2
Path: /usr/local/lib/docker/cli-plugins/docker-compose
debug: Get a shell into any image or container (Docker Inc.)
Version: 0.0.29
Path: /usr/local/lib/docker/cli-plugins/docker-debug
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.2
Path: /usr/local/lib/docker/cli-plugins/docker-dev
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.23
Path: /usr/local/lib/docker/cli-plugins/docker-extension
feedback: Provide feedback, right in your terminal! (Docker Inc.)
Version: v1.0.4
Path: /usr/local/lib/docker/cli-plugins/docker-feedback
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v1.1.0
Path: /usr/local/lib/docker/cli-plugins/docker-init
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: /usr/local/lib/docker/cli-plugins/docker-sbom
scout: Docker Scout (Docker Inc.)
Version: v1.8.0
Path: /usr/local/lib/docker/cli-plugins/docker-scout
WARNING: Plugin "/usr/local/lib/docker/cli-plugins/docker-scan" is not valid: failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-scan: no such file or directory
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 26.1.1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: e377cd56a71523140ca6ae87e30244719194a521
runc version: v1.1.12-0-g51d5e94
init version: de40ad0
Security Options:
seccomp
Profile: unconfined
Kernel Version: 5.15.153.1-microsoft-standard-WSL2
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 20
Total Memory: 9.713GiB
Name: docker-desktop
ID: 75aa0eaa-862c-421b-a272-940b75156916
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
No Proxy: hubproxy.docker.internal
Username: asolopovas
Labels:
com.docker.desktop.address=unix:///var/run/docker-cli.sock
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5555
127.0.0.0/8
Live Restore Enabled: false
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
WARNING: daemon is not using the default seccomp profile
Diagnostics ID
Can't seem to finish diagnostics
Additional Info
& "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" gather -upload Gathering diagnostics for ID into C:\Users\asolo\AppData\Local\Temp\66D9A28C-FF1D-4C3C-87BD-FB295C4E20B5\20240615102530.zip. This may take up to 15 minutes. [2024-06-15T10:25:30.061838200Z][com.docker.diagnose.exe.ipc] 5fd20b1d-diagnose -> \.\pipe\dockerBackendApiServer BackendAPI [2024-06-15T10:25:30.068327000Z][com.docker.diagnose.exe.ipc] (85aca648) 5fd20b1d-diagnose C->S BackendAPI POST /idle/make-busy [2024-06-15T10:25:30.070206200Z][com.docker.diagnose.exe.ipc] (85aca648) 5fd20b1d-diagnose C<-S 5a2001ab-BackendAPI POST /idle/make-busy (1.8792ms): 0xc00062a578 [2024-06-15T10:25:31.075273200Z][com.docker.diagnose.exe.ipc] (576afe8d) 5fd20b1d-diagnose C->S BackendAPI GET /idle [2024-06-15T10:25:31.082100500Z][com.docker.diagnose.exe.ipc] (576afe8d) 5fd20b1d-diagnose C<-S 5a2001ab-BackendAPI GET /idle (6.2877ms): {"apisInFlight":{},"booted":true,"busyReason":["timed activities: map[/idle/make-busy:28.988562s]"],"containers":0,"idle":"bool","kubernetesEnabled":false,"reduced":false,"services":0,"timedActivities":{"/idle/make-busy":"float64"},"vmPaused":false,"vmRunning":true,"vmStopped":false,"windowsContainers":false} [2024-06-15T10:25:31.082100500Z][com.docker.diagnose.exe.ipc] ca2e12aa-com.docker.diagnose -> \.\pipe\dockerDnsForwarder dns-forwarder [2024-06-15T10:25:31.082100500Z][com.docker.diagnose.exe.ipc] (59edec9f) ca2e12aa-com.docker.diagnose C->S dns-forwarder POST /diagnostics [2024-06-15T10:25:31.082100500Z][com.docker.diagnose.exe] Triggering Linux sysrq and log flushes via a unix socket: \.\pipe\dockerDiagnosticd [2024-06-15T10:25:31.089931600Z][com.docker.diagnose.exe.ipc] (59edec9f) ca2e12aa-com.docker.diagnose C<-S 71dc5357-dns-forwarder POST /diagnostics (7.8311ms): OK [2024-06-15T10:25:31.138252500Z][com.docker.diagnose.exe] Start gathering list of 132 elements [2024-06-15T10:25:31.138252500Z][com.docker.diagnose.exe] Gathering BackendGatherer [2024-06-15T10:25:31.138757200Z][com.docker.diagnose.exe] Gathering LifecycleServerGatherer [2024-06-15T10:25:31.138757200Z][com.docker.diagnose.exe] Gathering VirtualizationAPIGatherer [2024-06-15T10:25:31.144921600Z][com.docker.diagnose.exe.ipc] 929838ca-DiagkitPKG -> \.\pipe\dockerVirtualization Virtualization [2024-06-15T10:25:31.144921600Z][com.docker.diagnose.exe.ipc] (5a977a85) 929838ca-DiagkitPKG C->S Virtualization GET /goroutines/stacks [2024-06-15T10:25:31.147434800Z][com.docker.diagnose.exe.ipc][W] (5a977a85) 929838ca-DiagkitPKG C<-S NoResponse GET /goroutines/stacks (2.5132ms): Get "http://ipc/goroutines/stacks": open \.\pipe\dockerVirtualization: The system cannot find the file specified. [2024-06-15T10:25:31.138757200Z][com.docker.diagnose.exe] Gathering ProxyAPIGatherer [2024-06-15T10:25:31.150978800Z][com.docker.diagnose.exe.ipc] ff163cee-DiagkitPKG -> \.\pipe\dockerWindowsAPIProxyControl ProxyControl [2024-06-15T10:25:31.144921600Z][com.docker.diagnose.exe.ipc] aa391654-DiagkitPKG -> \.\pipe\dockerLifecycleServer VMDockerdAPI [2024-06-15T10:25:31.154189100Z][com.docker.diagnose.exe.ipc] (0e894bcc) aa391654-DiagkitPKG C->S VMDockerdAPI GET /goroutines/stacks [2024-06-15T10:25:31.153682800Z][com.docker.diagnose.exe.ipc] (41f38f4a) ff163cee-DiagkitPKG C->S ProxyControl GET /goroutines/stacks [2024-06-15T10:25:31.150978800Z][com.docker.diagnose.exe.ipc] af02374c-DiagkitPKG -> \.\pipe\dockerBackendApiServer BackendAPI [2024-06-15T10:25:31.162610600Z][com.docker.diagnose.exe.ipc] (d2910bde) af02374c-DiagkitPKG C->S BackendAPI GET /goroutines/stacks [2024-06-15T10:25:31.150978800Z][com.docker.diagnose.exe.ipc] (5a977a85-1) 929838ca-DiagkitPKG C->S Virtualization GET /ping [2024-06-15T10:25:31.166310600Z][com.docker.diagnose.exe.ipc][W] (5a977a85-1) 929838ca-DiagkitPKG C<-S NoResponse GET /ping (15.3318ms): Get "http://ipc/ping": open \.\pipe\dockerVirtualization: The system cannot find the file specified. [2024-06-15T10:25:31.171698900Z][com.docker.diagnose.exe.ipc] (0e894bcc) aa391654-DiagkitPKG C<-S 757a25ce-lifecycle-server GET /goroutines/stacks (17.005ms): 0xc00004e5a0 [2024-06-15T10:25:31.176058200Z][com.docker.diagnose.exe] Gathering LifecycleServerGatherer took 31.1366ms [2024-06-15T10:25:31.176058200Z][com.docker.diagnose.exe] Gathering system [2024-06-15T10:25:31.188870600Z][com.docker.diagnose.exe] Executing: [powershell -NoProfile -Command &{ Get-CimInstance Win32_OperatingSystem | Select-Object -ExcludeProperty Cim* -Property * | ConvertTo-Json }] [2024-06-15T10:25:31.207404600Z][com.docker.diagnose.exe.ipc] (d2910bde) af02374c-DiagkitPKG C<-S 5a2001ab-BackendAPI GET /goroutines/stacks (41.6703ms): 0xc00063c410 [2024-06-15T10:25:31.220045400Z][com.docker.diagnose.exe.ipc] (41f38f4a) ff163cee-DiagkitPKG C<-S bc44d3b1-proxyControl GET /goroutines/stacks (62.8531ms): 0xc000529ba0 [2024-06-15T10:25:31.234667600Z][com.docker.diagnose.exe.ipc] (b9378388) af02374c-DiagkitPKG C->S BackendAPI GET /events [2024-06-15T10:25:31.236872500Z][com.docker.diagnose.exe.ipc] (b9378388) af02374c-DiagkitPKG C<-S 5a2001ab-BackendAPI GET /events (2.2049ms): &[1718446864499462900 1718446864500728300 dockerAPI: starting (configuring proxies) 1718446865478099400 dockerAPI: running (API proxy is serving requests) 1718446870079618200 docker: starting 1718446870613884300 (starting WSL engine) 1718446881499079505 (from server) docker: starting (starting dockerd) 1718446881916393500 docker: running 1718446881914660321 (from server) docker: running (dockerd is running) ] [2024-06-15T10:25:31.254195500Z][com.docker.diagnose.exe] Gathering ProxyAPIGatherer took 103.2167ms [2024-06-15T10:25:31.254195500Z][com.docker.diagnose.exe] Gathering ProcessGatherer [2024-06-15T10:25:31.259401800Z][com.docker.diagnose.exe.ipc] (545a041d) af02374c-DiagkitPKG C->S BackendAPI GET /features [2024-06-15T10:25:31.261538800Z][com.docker.diagnose.exe.ipc] (545a041d) af02374c-DiagkitPKG C<-S 5a2001ab-BackendAPI GET /features (1.6029ms): {"AccountCenterDesktopRedirect":{"description":"Uses an account.docker.com url for the login redirect","enabled":false,"label":"Uses an account.docker.com url for the login redirect","name":"account.docker.com login redirect","type":2,"valueSource":"default"},"BuildsViewEAPBanner":{"description":"Displays a sign-up form for early access to build features","enabled":true,"label":"Enables a banner on the Builds view","name":"Builds view EAP banner","type":2,"userFacingDescription":"Displays build EAP sign-up","valueSource":"remote"},"BuildsViewGABanner":{"description":"Displays a sign-up form for next generation Docker build","enabled":true,"label":"Enables a banner on the Builds view","name":"Builds view GA banner","type":2,"userFacingDescription":"Displays next gen Docker build sign-up","valueSource":"remote"},"ComposeAutoFileShares":{"enabled":false,"label":"","name":"Compose: Automatic Synchronized File Share management","type":2,"valueSource":"remote"},"ComposeNav":{"enabled":false,"label":"","name":"Compose: TUI nav bar","type":2,"valueSource":"remote"},"ContainerdV2Notification":{"enabled":true,"label":"","name":"Containerd: Enables showing the containerd image store notification","type":2,"valueSource":"remote"},"DataGridRedesign":"map[string]interface {}","DesktopTerminal":{"description":"Enables the terminal in Docker Desktop","enabled":false,"label":"Enables the Desktop Terminal","name":"Desktop Terminal","type":2,"valueSource":"remote"},"DockerProjects":{"enabled":false,"label":"Enables Docker Projects in Docker Desktop","name":"Docker Projects","type":1,"valueSource":"default"},"DockerPublicImageUsage":{"enabled":false,"label":"","name":"Docker Public Image Usage","type":2,"valueSource":"remote"},"ExternalRegistry":{"description":"When this is set, the dashboard shows the external registry support (auth and list of private remote repositories)","enabled":false,"label":"External Registry Support in Docker Desktop","name":"External Registry Support","type":2,"valueSource":"default"},"GSExtensionsTest":{"description":"Adds feature and recommended info for extensions in Global Search","enabled":true,"label":"Improves display of extensions in Global Search","name":"Global Search Extensions Improvements","type":2,"valueSource":"remote"},"Harmonia":{"enabled":false,"label":"Enables Harmonia","name":"Harmonia","type":1,"valueSource":"default"},"IPv6":{"enabled":false,"label":"","name":"IPv6 support","type":1,"valueSource":"default"},"IdleBalloon":"map[string]interface {}","InAppFeedback":{"description":"Enables the new Docker Desktop feedback surveys that do not require a user to leave the app","enabled":true,"label":"Enables the new feedback surveys","name":"In-App Feedback","type":2,"valueSource":"remote"},"KubernetesReportErrors":{"enabled":true,"label":"","name":"Kubernetes: Report cluster start errors","type":2,"valueSource":"remote"},"LearningCenterAIML":{"enabled":true,"label":"Enables the AIML section in the Learning Center","name":"Learning Center AIML Section","type":2,"valueSource":"remote"},"NightlyBuilds":{"description":"Switch the application update to the night builds","enabled":false,"label":"Enable nightly builds","name":"Nightly builds","type":1,"valueSource":"default"},"ProUser":{"description":"You can upgrade your current tier here","enabled":false,"label":"personal","name":"ProUser","type":3,"valueSource":"entitlement"},"ScoutExceptionsM2":{"enabled":false,"label":"Enables the UI for Scout Exceptions M2","name":"Scout Exceptions M2","type":1,"valueSource":"default"},"ScoutExceptionsM2ShowBadge":{"enabled":false,"label":"Enables the "NEW" badge for the Scout Exceptions UI","name":"Scout Exceptions badge","type":1,"valueSource":"default"},"ScoutNotifications":{"enabled":false,"label":"Enables Scout notifications","name":"Scout Notifications","type":2,"valueSource":"remote"},"ScoutVexM1":{"enabled":false,"label":"Enables the UI for Scout VEX M1 (Phase 1)","name":"Scout VEX M1","type":2,"valueSource":"remote"},"ScoutVexShowBadge":{"enabled":false,"label":"Enables the "NEW" badge for the Scout VEX UI","name":"Scout VEX badge","type":2,"valueSource":"remote"},"SidebarLayout":"map[string]interface {}","SimultaneousLinuxAndWindowsContainers":{"description":"Allow both Linux and Windows containers simultaneously using docker cli contexts","enabled":false,"label":"Simultaneous Linux and Windows containers","name":"Simultaneous Linux and Windows containers","type":3,"valueSource":"entitlement"},"TrackTrustedImages":{"enabled":false,"label":"","name":"Track Trusted Images","type":2,"valueSource":"remote"},"VolumesBackupAndShare":{"description":"Enables Volumes Backup and Share in Docker Desktop","enabled":true,"label":"Enables Volumes Backup and Share","name":"Volumes Backup and Share","type":2,"valueSource":"remote"},"VolumesBackupAndShareM2":{"description":"Enables Volumes Backup and Share with Scheduled Backups in Docker Desktop","enabled":false,"label":"Enables Volumes Backup and Share with Scheduled Backups","name":"Volumes Backup and Share M2","type":1,"valueSource":"default"},"WSL2MonoDistro":{"description":"Enables the mono-distro mode for the WSL2 engine in Docker Desktop (requires factory reset to enable or disable)","enabled":false,"label":"WSL2 mono-distro mode","name":"WSL2 mono-distro","type":2,"valueSource":"remote"}} [2024-06-15T10:25:31.262066200Z][com.docker.diagnose.exe.ipc] (fd2c4992) af02374c-DiagkitPKG C->S BackendAPI GET /http-proxy/check [2024-06-15T10:25:31.262593800Z][com.docker.diagnose.exe.ipc] (fd2c4992) af02374c-DiagkitPKG C<-S 5a2001ab-BackendAPI GET /http-proxy/check (527.6µs): {"App":{"Enabled":true,"HTTPProxy":"","HTTPSProxy":"","Name":"static system","NoProxy":[""],"PAC":""},"AppLoginDockerCom":"direct host via direct connection because static system has no HTTPS proxy","Containers":{"Enabled":true,"HTTPProxy":"","HTTPSProxy":"","Name":"static system","NoProxy":[""],"PAC":""},"ContainersLoginDockerCom":"direct container via direct connection because static system has no HTTPS proxy"} [2024-06-15T10:25:31.263669800Z][com.docker.diagnose.exe.ipc] (65711902) af02374c-DiagkitPKG C->S BackendAPI GET /network/tcp [2024-06-15T10:25:31.264205100Z][com.docker.diagnose.exe.ipc] (65711902) af02374c-DiagkitPKG C<-S 5a2001ab-BackendAPI GET /network/tcp (535.3µs): {"35.190.88.7:443 \u003c- 192.168.65.3:36730":{"DstIP":"35.190.88.7","DstPort":443,"OpenAt":"2024-06-15T11:22:21.5183341+01:00","OpenFor":"3m9.7453357s","SrcIP":"192.168.65.3","SrcPort":36730}} [2024-06-15T10:25:31.265253200Z][com.docker.diagnose.exe.ipc] (3e8100fd) af02374c-DiagkitPKG C->S BackendAPI GET /idle [2024-06-15T10:25:31.266300800Z][com.docker.diagnose.exe.ipc] (3e8100fd) af02374c-DiagkitPKG C<-S 5a2001ab-BackendAPI GET /idle (1.0476ms): {"apisInFlight":{},"booted":true,"busyReason":["timed activities: map[/idle/make-busy:28.8038391s]"],"containers":0,"idle":"bool","kubernetesEnabled":false,"reduced":false,"services":0,"timedActivities":{"/idle/make-busy":"float64"},"vmPaused":false,"vmRunning":true,"vmStopped":false,"windowsContainers":false} [2024-06-15T10:25:31.267345900Z][com.docker.diagnose.exe] Gathering ProcessGatherer took 13.1504ms [2024-06-15T10:25:31.268392900Z][com.docker.diagnose.exe] Gathering typeperf \Process()% Processor Time -sc 5 -y (timeout 0s) [2024-06-15T10:25:31.272180500Z][com.docker.diagnose.exe.ipc] (d5e60dc5) af02374c-DiagkitPKG C->S BackendAPI GET /mutagen/file-shares [2024-06-15T10:25:31.273744200Z][com.docker.diagnose.exe.ipc][W] (d5e60dc5) af02374c-DiagkitPKG C<-S 5a2001ab-BackendAPI GET /mutagen/file-shares (1.0406ms): status code not OK but 500: {"message":"daemon not running"} {"message":"daemon not running"} {"message":"daemon not running"} [2024-06-15T10:25:31.274265400Z][com.docker.diagnose.exe] Gathering BackendGatherer took 135.5082ms [2024-06-15T10:25:31.274265400Z][com.docker.diagnose.exe] Gathering tasklist /V (timeout 0s) [2024-06-15T10:25:31.275923600Z][com.docker.diagnose.exe] Executing: [typeperf \Process()% Processor Time -sc 5 -y] [2024-06-15T10:25:31.278569000Z][com.docker.diagnose.exe] Executing: [tasklist /V] [2024-06-15T10:25:31.632872400Z][com.docker.diagnose.exe] Executing: [powershell -NoProfile -Command &{ Get-CimInstance Win32_ComputerSystem | Select-Object -ExcludeProperty Cim*, OemLogoBitMap -Property | ConvertTo-Json }] [2024-06-15T10:25:31.959974300Z][com.docker.diagnose.exe] Executing: [powershell -NoProfile -Command &{ Get-CimInstance Win32_Processor | Select-Object -ExcludeProperty Cim -Property * | ConvertTo-json }] [2024-06-15T10:25:32.157874600Z][com.docker.diagnose.exe] Gathering VirtualizationAPIGatherer took 1.012953s [2024-06-15T10:25:32.157874600Z][com.docker.diagnose.exe] Gathering Get-Process | Select-Object Handles,Name,NPM,PM,SI,VM,WS | ConvertTo-Json -Depth 1 (timeout 1m30s) [2024-06-15T10:25:32.162573600Z][com.docker.diagnose.exe] Executing: [powershell -NoProfile -Command &{ Get-Process | Select-Object Handles,Name,NPM,PM,SI,VM,WS | ConvertTo-Json -Depth 1 }] panic: errors: target must be a non-nil pointer
goroutine 15 [running]: errors.As({0x1b5b7a0?, 0xc00058e0c0?}, {0x15d9ce0?, 0x0?}) errors/wrap.go:107 +0x219 github.com/docker/pinata/common/pkg/errordef.helper.As(...) github.com/docker/pinata/common/pkg/errordef/helper.go:85 github.com/docker/pinata/common/pkg/diagkit/diagnose.wslListDisks({0x1b67bd0?, 0xc0002243f0?}) github.com/docker/pinata/common/pkg/diagkit/diagnose/wsl_windows.go:239 +0x13b github.com/docker/pinata/common/pkg/diagkit/diagnose.init.func19({0x1b67bd0?, 0xc0006543f0?}) github.com/docker/pinata/common/pkg/diagkit/diagnose/wsl_windows.go:182 +0x70 github.com/docker/pinata/common/pkg/diagkit/diagnose.(*test).GetResult(0x23a1540, {0x1b67bd0?, 0xc0006543f0?}) github.com/docker/pinata/common/pkg/diagkit/diagnose/test.go:54 +0x134 github.com/docker/pinata/common/pkg/diagkit/diagnose.Run.func1(0x23a1540) github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:21 +0x56 github.com/docker/pinata/common/pkg/diagkit/diagnose.walkOnce.func1(0x6?, 0x23a1540) github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:147 +0x6a github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x5, 0x23a1540, 0xc000053bb0) github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:156 +0x7d github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x4, 0x23a0bc0, 0xc000053bb0) github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:153 +0x48 github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x3, 0x23a0c40, 0xc000053bb0) github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:153 +0x48 github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x2, 0x23a0cc0, 0xc000053bb0) github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:153 +0x48 github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x1, 0x23a0d40, 0xc000053bb0) github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:153 +0x48 github.com/docker/pinata/common/pkg/diagkit/diagnose.walkDepthFirst(0x0, 0x23a07c0, 0xc000053bb0) github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:153 +0x48 github.com/docker/pinata/common/pkg/diagkit/diagnose.walkOnce(0x23a07c0, 0xc000687da0) github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:142 +0xe5 github.com/docker/pinata/common/pkg/diagkit/diagnose.Run({0x1b67bd0, 0xc0006543f0}, 0x23a07c0, 0x23a0840, 0x0) github.com/docker/pinata/common/pkg/diagkit/diagnose/run.go:20 +0x217 github.com/docker/pinata/common/pkg/diagkit/diagnose.(*SelfDiagnose).Trigger(0x23ae930, {0x1b67bd0, 0xc0006543f0}) github.com/docker/pinata/common/pkg/diagkit/diagnose/gather.go:32 +0x7a created by main.gatherCmd in goroutine 1 github.com/docker/pinata/common/cmd/com.docker.diagnose/main.go:288 +0x85f
Hey there,
thanks for reporting the issue, and I am sorry for your experience.
A bug in the diagnostics code is the cause for your failure collecting diagnostics. This is now fixed and will be published in the next release.
In order to help us investigate the original issue, would you be able to help us by manually uploading Docker Desktop logs right after reproducing the startup failure, please?
The logs are stored in %LOCALAPPDATA%/Docker/log, which commonly corresponds to C:\Users\<USERNAME>\AppData\Local\Docker\log.
Could you zip all the log folder in one archive and attach it to this ticket, please?
I am experiencing the exact same issue. After the update the Docker Engine is stuck starting. This happens on versions 4.31.0 and 4.31.1
I had to roll-back to version 4.30.0 to be able to use Docker as usually.
@andrea-reale here you go.... log.zip
ran an experiment did clean win 11 install latest version engine doesnt start, spinning and spining
log.zip This is log from my clean install, where my docker engine doesn't seem to start. Look like new version doesn't like my computer....
4.30.0 brings everything back to working state:
Thank you for sharing the logs @asolopovas .
From the logs it seems that the WSL2 kernel version you're running is incompatible with some IPv6 related feature we have enabled in v4.31.0
2024-06-18T00:41:58.650856800Z][com.docker.backend.exe.WSLBootstrap] [2024-06-18T00:41:58.650763650Z][init ][E] FATAL: running services: running sysctl: enabling IPv6 forwarding: open /proc/sys/net/ipv6/conf/all/forwarding: no such file or directory
[2024-06-18T00:41:58.651447500Z][com.docker.backend.exe.WSLBootstrap] [2024-06-18T00:41:58.650922802Z][init.poweroff ] preparing to power the VM off...
[2024-06-18T00:41:58.650763650Z][com.docker.backend.exe.init][E] FATAL: running services: running sysctl: enabling IPv6 forwarding: open /proc/sys/net/ipv6/conf/all/forwarding: no such file or directory
[common/cmd/com.docker.backend/internal/logwrite.(*LogsAggregator).Run.func1(0xc0016fbd70?)
Could you please help us by posting the output of wsl.exe --version?
Are you running the most recent version of WSL2? (You could try to update via wsl.exe --update).
Thanks
I have been trying wsl.exe --update, it was latest and had not impact on starting the engine:
wsl.exe --version WSL version: 2.2.4.0 Kernel version: 5.15.153.1-2 WSLg version: 1.0.61 MSRDC version: 1.2.5326 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26091.1-240325-1447.ge-release Windows version: 10.0.22631.2861
Thanks.
I suspect that the linux kernel used by your WSL2 VM does not support the IPv6 features that Docker Desktop is trying to enable. It is surpsing because the stock kernel that is shipped with WSL2 should. I'd appreciate if you could help us dig deeper into the matter, so we can address the issue in the upcoming releases.
Can you please post the output of
> wsl.exe --system uname -a
and (this will be a big output)
> wsl.exe --system zcat /proc/config.gz
wsl.exe --system uname -a
GUI application support is disabled via C:\Users\asolo\.wslconfig or /etc/wsl.conf.
Error code: Wsl/Service/CreateInstance/WSL_E_GUI_APPLICATIONS_DISABLED
wsl.exe --system zcat /proc/config.gz
GUI application support is disabled via C:\Users\asolo\.wslconfig or /etc/wsl.conf.
Error code: Wsl/Service/CreateInstance/WSL_E_GUI_APPLICATIONS_DISABLED
I had this problem with docker not starting after upgrade from 4.30.0 to 4.31.1. After reading this thread I checked my C:\User<me>.wslconfig. I had an entry "kernelCommandLine = ipv6.disable=1. I don't remember why, maybe just to not have all the ip6 stuff getting in the way? Anyway, once I removed that entry and restarted wsl, the docker desktop upgrade worked OK.
It might be better if these new ipv6 features are just disabled if ipv6 isn't available? Failing hard for this seems harsh.
After disabling ipv6 and trying to upgrade still have the same problem. It generally bad expirience as you can see on the screen recording. You cannot also get into settings section when such error if thrown to even try reseting something
I think you have misunderstood. The 4.31.x needs ipv6 support enabled. (Strange but true). So, your kernel needs to support it, and you should check your .wslconfig and /etc/wsl.conf, to make sure it is not being disabled. Maybe run “ ip a | grep inet6 “ in WSL, to make sure it is working?
@stan-quinn I probably disabled ipv6 due to some other glitch before and left it in my .wslconfig and probably thats what was causing it, after enabling ipv6 across the board engine has started.
Just dropping a note here to say that I did NOT have a .wslconfig file and subsequently no explicit disabling of ipv6 but I still came across this issue. Simply adding a .wslconfig file to my user directory with the following content solved my issue:
[wsl2]
kernelCommandLine=ipv6.disable=0
@krzim Thanks, that worked for me.
For anyone else having the issue, here are the exact steps I took to get docker running again in Windows 11:
- Open Windows Terminal
- This should take you to a Windows Powershell prompt
cd $env:UserProfile
- This is to make sure you are in your user profile directory
wsl touch .wslconfig
- This is to create the .wslconfig file if it doesn't already exist.
- You can also just create this file manually, just make sure it is named
.wslconfigin your user profile directory (%UserProfile%)
- Add the following contents to the .wslconfig file:
[wsl2]
kernelCommandLine = ipv6.disable=0
wsl --shutdown
- To make sure you shut down any running WSL instances
- Reopen/Restart Docker Desktop
More Info on wslconfig: https://learn.microsoft.com/en-us/windows/wsl/wsl-config
Docker will not start since upgrade to 4.31.1 on OSX 14.5 (23F79) with apple silicon
Hi @MichaelrMentele,
I believe you are not experiencing the same issue described in this ticket, as this is specifically related to the Windows WSL2 backend and ipv6.
Would you please mind to open a ticket on https://github.com.docker/for-mac and upload your issue details and gather diagnostics in there, so we can help you with your problem?
Hi guys,
I'm having the same issue in Windows 11.
I'm trying to uninstall the current version with the command Start-Process 'Docker Desktop Installer.exe' -Wait uninstall
and I got this
Version: 4.31.1 (153621) Sha1: Started on: 2024/06/26 10:57:27.673 Resources: C:\Program Files\Docker\Docker\resources OS: Windows 10 Enterprise Edition: Enterprise Id: 2009 Build: 22621 BuildLabName: 22621.1.amd64fre.ni_release.220506-1250 File: C:\ProgramData\DockerDesktop\install-log-admin.txt CommandLine: "C:\Program Files\Docker\Docker\Docker Desktop Installer.exe" uninstall You can send feedback, including this log file, at https://github.com/docker/for-win/issues [2024-06-26T10:57:27.814149500Z][ManifestAndExistingInstallationLoader][I] No install path specified, looking for default installation registry key [2024-06-26T10:57:27.814149500Z][Installer][I] No installation found
https://github.com/docker/for-win/issues/14139#issuecomment-2184200330 this instruction didn't work for me either.
Windows 11 Pro (22631.3737) Docker Desktop 4.31.1 WSL 2 Ubuntu 24.04 Docker version 24.0.7, build 24.0.7-0ubuntu4
Had to downgrade back to 4.30.0
/etc/wsl.conf:
[boot]
systemd=true
[interop]
appendWindowsPath=false
~/.wslconfig: (Windows && WSL ~ $HOME)
[wsl2]
kernelCommandLine = ipv6.disable=0
$ docker ps
Failed to initialize: protocol not available
$ docker --help
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0x55797715f2a0]
goroutine 1 [running]:
github.com/docker/cli/vendor/github.com/docker/docker/client.(*Client).ClientVersion(0xc0003dc1e0?)
/build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/vendor/github.com/docker/docker/client/client.go:237
github.com/docker/cli/cli/command.(*DockerCli).CurrentVersion(0xc0003dc1e0)
/build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cli/command/cli.go:99 +0x30
main.hideUnsupportedFeatures.func4({0x5579777ef817, 0x4})
/build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:351 +0x29
main.hideSubcommandIf(0xc000504f08, 0xc00059fc38, {0x5579777f2731?, 0xc00059fca0?})
/build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:316 +0x51
main.hideUnsupportedFeatures(0xc0000de908, {0x557977c24fc0?, 0xc0003dc1e0?})
/build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:376 +0x265
main.setHelpFunc.func1(0xc0000de908, {0xc0003da620, 0x0, 0x1})
/build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:156 +0x1f3
github.com/docker/cli/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc0000de908)
/build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/vendor/github.com/spf13/cobra/command.go:1073 +0x52a
github.com/docker/cli/vendor/github.com/spf13/cobra.(*Command).Execute(...)
/build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/vendor/github.com/spf13/cobra/command.go:992
main.runDocker(0xc0003dc1e0)
/build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:263 +0x465
main.main()
/build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:274 +0x90
NAME STATE VERSION
* Ubuntu-24.04 Running 2
docker-desktop Running 2
Linux Tomak-NB 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
https://github.com/docker/for-win/issues/14139#issuecomment-2184200330 this instruction didn't work for me either.
Windows 11 Pro (22631.3737) Docker Desktop 4.31.1 WSL 2 Ubuntu 24.04 Docker version 24.0.7, build 24.0.7-0ubuntu4
Had to downgrade back to 4.30.0
/etc/wsl.conf:[boot] systemd=true [interop] appendWindowsPath=false
~/.wslconfig: (Windows && WSL ~ $HOME)[wsl2] kernelCommandLine = ipv6.disable=0$ docker ps Failed to initialize: protocol not available$ docker --help panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0x55797715f2a0] goroutine 1 [running]: github.com/docker/cli/vendor/github.com/docker/docker/client.(*Client).ClientVersion(0xc0003dc1e0?) /build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/vendor/github.com/docker/docker/client/client.go:237 github.com/docker/cli/cli/command.(*DockerCli).CurrentVersion(0xc0003dc1e0) /build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cli/command/cli.go:99 +0x30 main.hideUnsupportedFeatures.func4({0x5579777ef817, 0x4}) /build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:351 +0x29 main.hideSubcommandIf(0xc000504f08, 0xc00059fc38, {0x5579777f2731?, 0xc00059fca0?}) /build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:316 +0x51 main.hideUnsupportedFeatures(0xc0000de908, {0x557977c24fc0?, 0xc0003dc1e0?}) /build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:376 +0x265 main.setHelpFunc.func1(0xc0000de908, {0xc0003da620, 0x0, 0x1}) /build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:156 +0x1f3 github.com/docker/cli/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc0000de908) /build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/vendor/github.com/spf13/cobra/command.go:1073 +0x52a github.com/docker/cli/vendor/github.com/spf13/cobra.(*Command).Execute(...) /build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/vendor/github.com/spf13/cobra/command.go:992 main.runDocker(0xc0003dc1e0) /build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:263 +0x465 main.main() /build/docker.io-app-ZxLfQ1/docker.io-app-24.0.7/.gopath/src/github.com/docker/cli/cmd/docker/docker.go:274 +0x90NAME STATE VERSION * Ubuntu-24.04 Running 2 docker-desktop Running 2Linux Tomak-NB 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Uninstall the existing version, then install https://docs.docker.com/desktop/release-notes/#4300
Has there been an actual working fix to this issue? the method above didn't work for me nor did rolling back
4.33.0 and still broken
+1 still broken on 4.33.1
Any updates on this issue? Running into this problem in 4.33.1.
Had to stop using the WSL2 integration in Docker Desktop and convert my distro to WSL 1 because of this issue.
wsl --set-version my-distro 1.
4.37.1 still broken
4.40.0
4.42.1 Still broken
Hmm I might found solution for this to use latest docker with WSL 2:
$ docker context ls
NAME DESCRIPTION DOCKER ENDPOINT ERROR
default Current DOCKER_HOST based configuration unix:///var/run/docker.sock
desktop-linux * Docker Desktop npipe:////./pipe/dockerDesktopLinuxEngine
$ docker context use default
default
Current context is now "default"
$ docker context ls
NAME DESCRIPTION DOCKER ENDPOINT ERROR
default * Current DOCKER_HOST based configuration unix:///var/run/docker.sock
desktop-linux Docker Desktop npipe:////./pipe/dockerDesktopLinuxEngine
But after updating Docker Desktop, the context always switches back to dekstop-linux, which is quite annoying.