概述
我试图在WSL上运行Docker失败.我已按照install Docker on Ubuntu给出的步骤在WSL上安装了Docker但是当我执行docker ps时出现以下错误:
docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
看着码头日志我发现了这个:
level=warning msg="Running modprobe nf_nat Failed with message: `modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.0-43-Microsoft/modules.dep.bin'nmodprobe: WARNING: Module nf_nat not found in directory /lib/modules/4.4.0-43-Microsoft`,error: exit status 1"
time="2017-12-28T12:07:23.227671600+01:00" level=warning msg="Running modprobe xt_conntrack Failed with message: `modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.0-43-Microsoft/modules.dep.bin'nmodprobe: WARNING: Module xt_conntrack not found in directory /lib/modules/4.4.0-43-Microsoft`,error: exit status 1"
Error starting daemon: Error initializing network controller: error obtaining controller instance: Failed to create NAT chain: iptables Failed: iptables -t nat -N DOCKER: iptables v1.6.0: 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)
知道如何在WSL上运行Docker?
最后
以上就是无奈奇迹为你收集整理的LINUX系统子系统DEMON,在Windows子系统Linux上运行Ubuntu上的Docker的全部内容,希望文章能够帮你解决LINUX系统子系统DEMON,在Windows子系统Linux上运行Ubuntu上的Docker所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复