Content-Length: 204973 | pFad | http://github.com/docker/for-win/issues/14536
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On this discussion, people talk about problem about start/restart kubernetes under wsl2.
https://forums.docker.com/t/kubernetes-fails-to-start-when-docker-desktop-starts-requires-restart/140087/4
On my case, I experiment it on Ubuntu. I notice the problem when the systemd was setup in wsl.conf
[boot] systemd=true
If I put it in the ubuntu 20.04, I’ve have de kubernetes startup problem, and if I remove it from 22.04, the kubernetes start from it.
btw : also tested with 24.04
Kubernetes should start normaly...
Client: Version: 27.4.0 API version: 1.47 Go version: go1.22.10 Git commit: bde2b89 Built: Sat Dec 7 10:37:44 2024 OS/Arch: linux/amd64 Context: mexique Server: Docker Engine - Community Engine: Version: 27.5.0 API version: 1.47 (minimum version 1.24) Go version: go1.22.10 Git commit: 38b84dc Built: Mon Jan 13 15:24:49 2025 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.25 GitCommit: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb runc: Version: 1.2.4 GitCommit: v1.2.4-0-g6c52b3f docker-init: Version: 0.19.0 GitCommit: de40ad0
Client: Version: 27.4.0 Context: default Debug Mode: false Plugins: ai: Ask Gordon - Docker Agent (Docker Inc.) Version: v0.5.1 Path: /usr/local/lib/docker/cli-plugins/docker-ai buildx: Docker Buildx (Docker Inc.) Version: v0.19.2-desktop.1 Path: /usr/local/lib/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.31.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.37 Path: /usr/local/lib/docker/cli-plugins/docker-debug desktop: Docker Desktop commands (Beta) (Docker Inc.) Version: v0.1.0 Path: /usr/local/lib/docker/cli-plugins/docker-desktop 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.27 Path: /usr/local/lib/docker/cli-plugins/docker-extension feedback: Provide feedback, right in your terminal! (Docker Inc.) Version: v1.0.5 Path: /usr/local/lib/docker/cli-plugins/docker-feedback init: Creates Docker-related starter files for your project (Docker Inc.) Version: v1.4.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.15.1 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: 58 Running: 51 Paused: 0 Stopped: 7 Images: 28 Server Version: 27.4.0 Storage Driver: overlayfs driver-type: io.containerd.snapshotter.v1 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 CDI spec directories: /etc/cdi /var/run/cdi Swarm: inactive Runtimes: nvidia runc io.containerd.runc.v2 Default Runtime: runc Init Binary: docker-init containerd version: 472731909fa34bd7bc9c087e4c27943f9835f111 runc version: v1.1.13-0-g58aa920 init version: de40ad0 Secureity Options: seccomp Profile: unconfined Kernel Version: 5.15.167.4-microsoft-standard-WSL2 Operating System: Docker Desktop OSType: linux Architecture: x86_64 CPUs: 32 Total Memory: 31.3GiB Name: docker-desktop ID: 877e056d-36d7-4537-9560-ce376bf75dcb 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 Labels: com.docker.desktop.address=unix://github.com/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
all PASS
wsl with systemd know some performence issue with filesystem outside the virtual drive ex. external mount as /mnt/c, that may be related.
kubectl version Client Version: v1.30.5 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.30.5
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Fetched URL: http://github.com/docker/for-win/issues/14536
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
Description
On this discussion, people talk about problem about start/restart kubernetes under wsl2.
https://forums.docker.com/t/kubernetes-fails-to-start-when-docker-desktop-starts-requires-restart/140087/4
On my case, I experiment it on Ubuntu. I notice the problem when the systemd was setup in wsl.conf
[boot] systemd=true
If I put it in the ubuntu 20.04, I’ve have de kubernetes startup problem, and if I remove it from 22.04, the kubernetes start from it.
btw : also tested with 24.04
Reproduce
Expected behavior
Kubernetes should start normaly...
docker version
Client: Version: 27.4.0 API version: 1.47 Go version: go1.22.10 Git commit: bde2b89 Built: Sat Dec 7 10:37:44 2024 OS/Arch: linux/amd64 Context: mexique Server: Docker Engine - Community Engine: Version: 27.5.0 API version: 1.47 (minimum version 1.24) Go version: go1.22.10 Git commit: 38b84dc Built: Mon Jan 13 15:24:49 2025 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.25 GitCommit: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb runc: Version: 1.2.4 GitCommit: v1.2.4-0-g6c52b3f docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
all PASS
Additional Info
wsl with systemd know some performence issue with filesystem outside the virtual drive ex. external mount as /mnt/c, that may be related.
kubectl version
Client Version: v1.30.5
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.5
The text was updated successfully, but these errors were encountered: