-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
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
Failed to start docker on WSL #8450
Comments
@zidong6344 try If you want to make the change permanent edit |
Thank you. |
For me the error continues:
|
@fabriciorsf have you tried the step-by-step that @elsaco explained above?
I believe it will solve your problem. |
The same error:
|
I'm getting the same error on WSL 1 |
Now with a fresh install of WSL2 from scratch:
|
Do you by chance have Docker Desktop installed as well? If yes, try uninstalling it, along with Ubuntu and do the whole setup again. At least that's what fixed the issue for me. |
the same here as in #8450 (comment):
Any hints? |
INFO[2024-03-26T17:16:26.703300124+08:00] Starting up I am encountering the aforementioned issue as well. After following the operations provided, I still get the same error. |
I had the same problem. Did you solve it |
Same error!!! |
Version
19043.1586
WSL Version
Kernel Version
4.15.18
Distro Version
Ubuntu 18.04
Other Software
No response
Repro Steps
sudo dockerd
Expected Behavior
Docker is running
Actual Behavior
Docker is not running
Diagnostic Logs
sudo dockerd
INFO[2022-05-26T23:02:52.560064800+08:00] Starting up
INFO[2022-05-26T23:02:52.560992800+08:00] libcontainerd: started new containerd process pid=193
INFO[2022-05-26T23:02:52.561032300+08:00] parsed scheme: "unix" module=grpc
INFO[2022-05-26T23:02:52.561064100+08:00] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2022-05-26T23:02:52.561098600+08:00] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 }] } module=grpc
INFO[2022-05-26T23:02:52.561145900+08:00] ClientConn switching balancer to "pick_first" module=grpc
WARN[0000] deprecated version :
1
, please switch to version2
INFO[2022-05-26T23:02:52.578429400+08:00] starting containerd revision=212e8b6fa2f44b9c21b2798135fc6fb7c53efc16 version=1.6.4
INFO[2022-05-26T23:02:52.589700000+08:00] loading plugin "io.containerd.content.v1.content"... type=io.containerd.content.v1
INFO[2022-05-26T23:02:52.589789400+08:00] loading plugin "io.containerd.snapshotter.v1.aufs"... type=io.containerd.snapshotter.v1
INFO[2022-05-26T23:02:52.591700000+08:00] skip loading plugin "io.containerd.snapshotter.v1.aufs"... error="aufs is not supported (modprobe aufs failed: exit status 1 "modprobe: FATAL: Module aufs not found in directory /lib/modules/4.15.18-microsoft-standard-WSL2\n"): skip plugin" type=io.containerd.snapshotter.v1
INFO[2022-05-26T23:02:52.591805600+08:00] loading plugin "io.containerd.snapshotter.v1.btrfs"... type=io.containerd.snapshotter.v1
INFO[2022-05-26T23:02:52.592181200+08:00] skip loading plugin "io.containerd.snapshotter.v1.btrfs"... error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs (ext4) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
INFO[2022-05-26T23:02:52.592241000+08:00] loading plugin "io.containerd.snapshotter.v1.devmapper"... type=io.containerd.snapshotter.v1
WARN[2022-05-26T23:02:52.592277100+08:00] failed to load plugin io.containerd.snapshotter.v1.devmapper error="devmapper not configured"
INFO[2022-05-26T23:02:52.592288700+08:00] loading plugin "io.containerd.snapshotter.v1.native"... type=io.containerd.snapshotter.v1
INFO[2022-05-26T23:02:52.592368000+08:00] loading plugin "io.containerd.snapshotter.v1.overlayfs"... type=io.containerd.snapshotter.v1
INFO[2022-05-26T23:02:52.593145000+08:00] loading plugin "io.containerd.snapshotter.v1.zfs"... type=io.containerd.snapshotter.v1
INFO[2022-05-26T23:02:52.593342400+08:00] skip loading plugin "io.containerd.snapshotter.v1.zfs"... error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
INFO[2022-05-26T23:02:52.593375300+08:00] loading plugin "io.containerd.metadata.v1.bolt"... type=io.containerd.metadata.v1
WARN[2022-05-26T23:02:52.593408800+08:00] could not use snapshotter devmapper in metadata plugin error="devmapper not configured"
INFO[2022-05-26T23:02:52.593445500+08:00] metadata content store policy set policy=shared
INFO[2022-05-26T23:02:52.593649200+08:00] loading plugin "io.containerd.differ.v1.walking"... type=io.containerd.differ.v1
INFO[2022-05-26T23:02:52.593696100+08:00] loading plugin "io.containerd.event.v1.exchange"... type=io.containerd.event.v1
INFO[2022-05-26T23:02:52.593753600+08:00] loading plugin "io.containerd.gc.v1.scheduler"... type=io.containerd.gc.v1
INFO[2022-05-26T23:02:52.593834900+08:00] loading plugin "io.containerd.service.v1.introspection-service"... type=io.containerd.service.v1
INFO[2022-05-26T23:02:52.593871100+08:00] loading plugin "io.containerd.service.v1.containers-service"... type=io.containerd.service.v1
INFO[2022-05-26T23:02:52.593951300+08:00] loading plugin "io.containerd.service.v1.content-service"... type=io.containerd.service.v1
INFO[2022-05-26T23:02:52.594000900+08:00] loading plugin "io.containerd.service.v1.diff-service"... type=io.containerd.service.v1
INFO[2022-05-26T23:02:52.594046000+08:00] loading plugin "io.containerd.service.v1.images-service"... type=io.containerd.service.v1
INFO[2022-05-26T23:02:52.594095500+08:00] loading plugin "io.containerd.service.v1.leases-service"... type=io.containerd.service.v1
INFO[2022-05-26T23:02:52.594145400+08:00] loading plugin "io.containerd.service.v1.namespaces-service"... type=io.containerd.service.v1
INFO[2022-05-26T23:02:52.594181200+08:00] loading plugin "io.containerd.service.v1.snapshots-service"... type=io.containerd.service.v1
INFO[2022-05-26T23:02:52.594225400+08:00] loading plugin "io.containerd.runtime.v1.linux"... type=io.containerd.runtime.v1
INFO[2022-05-26T23:02:52.594366900+08:00] loading plugin "io.containerd.runtime.v2.task"... type=io.containerd.runtime.v2
INFO[2022-05-26T23:02:52.594444100+08:00] loading plugin "io.containerd.monitor.v1.cgroups"... type=io.containerd.monitor.v1
INFO[2022-05-26T23:02:52.595216300+08:00] loading plugin "io.containerd.service.v1.tasks-service"... type=io.containerd.service.v1
INFO[2022-05-26T23:02:52.595368900+08:00] loading plugin "io.containerd.grpc.v1.introspection"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.595422900+08:00] loading plugin "io.containerd.internal.v1.restart"... type=io.containerd.internal.v1
INFO[2022-05-26T23:02:52.595584900+08:00] loading plugin "io.containerd.grpc.v1.containers"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.595626400+08:00] loading plugin "io.containerd.grpc.v1.content"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.595686700+08:00] loading plugin "io.containerd.grpc.v1.diff"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.595717700+08:00] loading plugin "io.containerd.grpc.v1.events"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.595760100+08:00] loading plugin "io.containerd.grpc.v1.healthcheck"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.595791100+08:00] loading plugin "io.containerd.grpc.v1.images"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.595819700+08:00] loading plugin "io.containerd.grpc.v1.leases"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.595847800+08:00] loading plugin "io.containerd.grpc.v1.namespaces"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.595877900+08:00] loading plugin "io.containerd.internal.v1.opt"... type=io.containerd.internal.v1
INFO[2022-05-26T23:02:52.595935100+08:00] loading plugin "io.containerd.grpc.v1.snapshots"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.595963700+08:00] loading plugin "io.containerd.grpc.v1.tasks"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.596010300+08:00] loading plugin "io.containerd.grpc.v1.version"... type=io.containerd.grpc.v1
INFO[2022-05-26T23:02:52.596038400+08:00] loading plugin "io.containerd.tracing.processor.v1.otlp"... type=io.containerd.tracing.processor.v1
INFO[2022-05-26T23:02:52.596068900+08:00] skip loading plugin "io.containerd.tracing.processor.v1.otlp"... error="no OpenTelemetry endpoint: skip plugin" type=io.containerd.tracing.processor.v1
INFO[2022-05-26T23:02:52.596124600+08:00] loading plugin "io.containerd.internal.v1.tracing"... type=io.containerd.internal.v1
ERRO[2022-05-26T23:02:52.596171700+08:00] failed to initialize a tracing processor "otlp" error="no OpenTelemetry endpoint: skip plugin"
INFO[2022-05-26T23:02:52.596368500+08:00] serving... address=/var/run/docker/containerd/containerd-debug.sock
INFO[2022-05-26T23:02:52.596439200+08:00] serving... address=/var/run/docker/containerd/containerd.sock.ttrpc
INFO[2022-05-26T23:02:52.596516000+08:00] serving... address=/var/run/docker/containerd/containerd.sock
INFO[2022-05-26T23:02:52.596545900+08:00] containerd successfully booted in 0.018776s
INFO[2022-05-26T23:02:52.604664800+08:00] parsed scheme: "unix" module=grpc
INFO[2022-05-26T23:02:52.604698000+08:00] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2022-05-26T23:02:52.604729600+08:00] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 }] } module=grpc
INFO[2022-05-26T23:02:52.604753900+08:00] ClientConn switching balancer to "pick_first" module=grpc
INFO[2022-05-26T23:02:52.606363300+08:00] parsed scheme: "unix" module=grpc
INFO[2022-05-26T23:02:52.606405100+08:00] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2022-05-26T23:02:52.606439600+08:00] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 }] } module=grpc
INFO[2022-05-26T23:02:52.606466100+08:00] ClientConn switching balancer to "pick_first" module=grpc
INFO[2022-05-26T23:02:52.656537800+08:00] [graphdriver] using prior storage driver: overlay2
WARN[2022-05-26T23:02:52.661928000+08:00] Your kernel does not support cgroup blkio weight
WARN[2022-05-26T23:02:52.661978300+08:00] Your kernel does not support cgroup blkio weight_device
WARN[2022-05-26T23:02:52.661983600+08:00] Your kernel does not support cgroup blkio throttle.read_bps_device
WARN[2022-05-26T23:02:52.661986000+08:00] Your kernel does not support cgroup blkio throttle.write_bps_device
WARN[2022-05-26T23:02:52.661987900+08:00] Your kernel does not support cgroup blkio throttle.read_iops_device
WARN[2022-05-26T23:02:52.661993000+08:00] Your kernel does not support cgroup blkio throttle.write_iops_device
INFO[2022-05-26T23:02:52.662211100+08:00] Loading containers: start.
WARN[2022-05-26T23:02:52.664307100+08:00] Running iptables --wait -t nat -L -n failed with message:
iptables v1.6.1: can't initialize iptables table
nat': Table does not exist (do you need to insmod?)Perhaps iptables or your kernel needs to be upgraded.
, error: exit status 3 INFO[2022-05-26T23:02:52.681243400+08:00] stopping event stream following graceful shutdown error="<nil>" module=libcontainerd namespace=moby INFO[2022-05-26T23:02:52.733437200+08:00] stopping healthcheck following graceful shutdown module=libcontainerd INFO[2022-05-26T23:02:52.733629400+08:00] stopping event stream following graceful shutdown error="context canceled" module=libcontainerd namespace=plugins.moby failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables --wait -t nat -N DOCKER: iptables v1.6.1: can't initialize iptables table
nat': Table does not exist (do you need to insmod?)Perhaps iptables or your kernel needs to be upgraded.
(exit status 3)
The text was updated successfully, but these errors were encountered: