小编And*_*rez的帖子

在Windows子系统Linux上运行Ubuntu上的Docker

我试图在WSL上运行Docker失败.我按照在Ubuntu安装Docker的步骤安装了WSL上的Docker,但是当我执行时,docker ps我收到以下错误:

docker ps    
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Run Code Online (Sandbox Code Playgroud)

看着码头日志我发现了这个:

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 …
Run Code Online (Sandbox Code Playgroud)

windows docker windows-subsystem-for-linux

15
推荐指数
6
解决办法
1万
查看次数