Repository navigation
Description
Version
19043.1586
WSL Version
- WSL 2
- WSL 1
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 version 2
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)
Activity
elsaco commentedon May 26, 2022
zidong6344 try
sudo dockerd --iptables=falseIf you want to make the change permanent edit
/etc/default/dockerand addDOCKER_OPTS="--iptables=false". After this you can usesudo service docker startto start your docker server, or stop, restart, and check status. Usingserviceto start docker it will also log events to/var/log/dockerwhich might come in handy later.zidong6344 commentedon May 28, 2022
Thank you.
Problem resolved.
fabriciorsf commentedon May 31, 2023
For me the error continues:
herbethalbuquerque commentedon Jun 2, 2023
Fabrício Raphael (@fabriciorsf) have you tried the step-by-step that Elsaco (@elsaco) explained above?
If you want to make the change permanent edit /etc/default/docker and add DOCKER_OPTS="--iptables=false". After this you can use sudo service docker start to start your docker server, or stop, restart, and check status. Using service to start docker it will also log events to /var/log/docker which might come in handy later.I believe it will solve your problem.
fabriciorsf commentedon Jun 2, 2023
The same error:
VitaliKasyanenka commentedon Jun 5, 2023
I'm getting the same error on WSL 1
fabriciorsf commentedon Jun 19, 2023
Now with a fresh install of WSL2 from scratch:
l-kokodic commentedon Jul 25, 2023
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.
IghuToh0 commentedon Oct 1, 2023
the same here as in #8450 (comment):
Any hints?
snowwalkk commentedon Mar 26, 2024
INFO[2024-03-26T17:16:26.703300124+08:00] Starting up
INFO[2024-03-26T17:16:26.704617711+08:00] containerd not running, starting managed containerd
INFO[2024-03-26T17:16:26.705687841+08:00] started new containerd process address=/var/run/docker/containerd/containerd.sock module=libcontainerd pid=440
INFO[2024-03-26T17:16:26.725569310+08:00] starting containerd revision=ae07eda36dd25f8a1b98dfbf587313b99c0190bb version=1.6.28
INFO[2024-03-26T17:16:26.742343381+08:00] loading plugin "io.containerd.snapshotter.v1.aufs"... type=io.containerd.snapshotter.v1
INFO[2024-03-26T17:16:26.742479249+08:00] skip loading plugin "io.containerd.snapshotter.v1.aufs"... error="aufs is not supported (modprobe aufs failed: exec: "modprobe": executable file not found in $PATH ""): skip plugin" type=io.containerd.snapshotter.v1
INFO[2024-03-26T17:16:26.742503382+08:00] loading plugin "io.containerd.content.v1.content"... type=io.containerd.content.v1
INFO[2024-03-26T17:16:26.742526432+08:00] loading plugin "io.containerd.snapshotter.v1.btrfs"... type=io.containerd.snapshotter.v1
INFO[2024-03-26T17:16:26.743127611+08:00] skip loading plugin "io.containerd.snapshotter.v1.btrfs"... error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs (overlay) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
INFO[2024-03-26T17:16:26.743146332+08:00] loading plugin "io.containerd.snapshotter.v1.devmapper"... type=io.containerd.snapshotter.v1
WARN[2024-03-26T17:16:26.743159720+08:00] failed to load plugin io.containerd.snapshotter.v1.devmapper error="devmapper not configured"
INFO[2024-03-26T17:16:26.743170481+08:00] loading plugin "io.containerd.snapshotter.v1.native"... type=io.containerd.snapshotter.v1
INFO[2024-03-26T17:16:26.743192399+08:00] loading plugin "io.containerd.snapshotter.v1.overlayfs"... type=io.containerd.snapshotter.v1
INFO[2024-03-26T17:16:26.743287997+08:00] loading plugin "io.containerd.snapshotter.v1.zfs"... type=io.containerd.snapshotter.v1
INFO[2024-03-26T17:16:26.743793713+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[2024-03-26T17:16:26.743822097+08:00] loading plugin "io.containerd.metadata.v1.bolt"... type=io.containerd.metadata.v1
WARN[2024-03-26T17:16:26.743838401+08:00] could not use snapshotter devmapper in metadata plugin error="devmapper not configured"
INFO[2024-03-26T17:16:26.743846786+08:00] metadata content store policy set policy=shared
INFO[2024-03-26T17:16:26.743936293+08:00] loading plugin "io.containerd.differ.v1.walking"... type=io.containerd.differ.v1
INFO[2024-03-26T17:16:26.743954765+08:00] loading plugin "io.containerd.event.v1.exchange"... type=io.containerd.event.v1
INFO[2024-03-26T17:16:26.743973884+08:00] loading plugin "io.containerd.gc.v1.scheduler"... type=io.containerd.gc.v1
INFO[2024-03-26T17:16:26.744004713+08:00] loading plugin "io.containerd.runtime.v1.linux"... type=io.containerd.runtime.v1
INFO[2024-03-26T17:16:26.744049048+08:00] loading plugin "io.containerd.runtime.v2.task"... type=io.containerd.runtime.v2
INFO[2024-03-26T17:16:26.744100554+08:00] loading plugin "io.containerd.internal.v1.opt"... type=io.containerd.internal.v1
INFO[2024-03-26T17:16:26.744139687+08:00] loading plugin "io.containerd.warning.v1.deprecations"... type=io.containerd.warning.v1
INFO[2024-03-26T17:16:26.744154386+08:00] loading plugin "io.containerd.monitor.v1.cgroups"... type=io.containerd.monitor.v1
INFO[2024-03-26T17:16:26.744486579+08:00] loading plugin "io.containerd.service.v1.containers-service"... type=io.containerd.service.v1
INFO[2024-03-26T17:16:26.744515939+08:00] loading plugin "io.containerd.service.v1.content-service"... type=io.containerd.service.v1
INFO[2024-03-26T17:16:26.744530891+08:00] loading plugin "io.containerd.service.v1.diff-service"... type=io.containerd.service.v1
INFO[2024-03-26T17:16:26.744548271+08:00] loading plugin "io.containerd.service.v1.images-service"... type=io.containerd.service.v1
INFO[2024-03-26T17:16:26.744574978+08:00] loading plugin "io.containerd.service.v1.introspection-service"... type=io.containerd.service.v1
INFO[2024-03-26T17:16:26.744591470+08:00] loading plugin "io.containerd.service.v1.leases-service"... type=io.containerd.service.v1
INFO[2024-03-26T17:16:26.744609131+08:00] loading plugin "io.containerd.service.v1.namespaces-service"... type=io.containerd.service.v1
INFO[2024-03-26T17:16:26.744629458+08:00] loading plugin "io.containerd.service.v1.snapshots-service"... type=io.containerd.service.v1
INFO[2024-03-26T17:16:26.744655274+08:00] loading plugin "io.containerd.service.v1.tasks-service"... type=io.containerd.service.v1
INFO[2024-03-26T17:16:26.744681661+08:00] loading plugin "io.containerd.grpc.v1.containers"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.744710227+08:00] loading plugin "io.containerd.grpc.v1.content"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.744729037+08:00] loading plugin "io.containerd.grpc.v1.diff"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.744747608+08:00] loading plugin "io.containerd.grpc.v1.events"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.744766461+08:00] loading plugin "io.containerd.grpc.v1.images"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.744785391+08:00] loading plugin "io.containerd.grpc.v1.introspection"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.744823070+08:00] loading plugin "io.containerd.grpc.v1.leases"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.744836375+08:00] loading plugin "io.containerd.grpc.v1.namespaces"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.744852916+08:00] loading plugin "io.containerd.grpc.v1.snapshots"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.744866654+08:00] loading plugin "io.containerd.grpc.v1.tasks"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.744886729+08:00] loading plugin "io.containerd.grpc.v1.version"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.744906105+08:00] loading plugin "io.containerd.tracing.processor.v1.otlp"... type=io.containerd.tracing.processor.v1
INFO[2024-03-26T17:16:26.744929089+08:00] skip loading plugin "io.containerd.tracing.processor.v1.otlp"... error="no OpenTelemetry endpoint: skip plugin" type=io.containerd.tracing.processor.v1
INFO[2024-03-26T17:16:26.744947418+08:00] loading plugin "io.containerd.internal.v1.tracing"... type=io.containerd.internal.v1
ERRO[2024-03-26T17:16:26.744972282+08:00] failed to initialize a tracing processor "otlp" error="no OpenTelemetry endpoint: skip plugin"
INFO[2024-03-26T17:16:26.745025083+08:00] loading plugin "io.containerd.internal.v1.restart"... type=io.containerd.internal.v1
INFO[2024-03-26T17:16:26.745082151+08:00] loading plugin "io.containerd.grpc.v1.healthcheck"... type=io.containerd.grpc.v1
INFO[2024-03-26T17:16:26.745305861+08:00] serving... address=/var/run/docker/containerd/containerd-debug.sock
INFO[2024-03-26T17:16:26.745376998+08:00] serving... address=/var/run/docker/containerd/containerd.sock.ttrpc
INFO[2024-03-26T17:16:26.745435296+08:00] serving... address=/var/run/docker/containerd/containerd.sock
INFO[2024-03-26T17:16:26.745598682+08:00] containerd successfully booted in 0.021086s
ERRO[2024-03-26T17:16:26.754991991+08:00] failed to mount overlay: operation not permitted storage-driver=overlay2
ERRO[2024-03-26T17:16:26.755039267+08:00] exec: "fuse-overlayfs": executable file not found in $PATH storage-driver=fuse-overlayfs
I am encountering the aforementioned issue as well. After following the operations provided, I still get the same error.
snowwalkk commentedon Mar 26, 2024
I had the same problem. Did you solve it
richard-leon-130524 commentedon May 17, 2024
Same error!!!