我只是安装Windows 10周年更新,它有一个新的特性,即linux子系统。因此,我尝试在Windows 10 ubuntu (linux子系统)中运行docker。我之所以想在linux子系统中安装docker是因为:
Cannot connect to the Docker daemonIs the docker daemon
Oct 16 18:17:22 linux avahi-daemon[1140]: Invalid response packet from host 45.52.91.79.Oct 16 18:17:22 linux avahi-daemon[1140]: Invalid response packet from host 45.52.56.84.Oct 16 18:17:22 linux avahi-daemon[1140]: Invalid response packet from
它使用了两个“非标准”函数(如果我没记错的话,这两个函数都在cstdlib中):sleep()和daemon()。在更新我的系统时,我发现我的程序不能再编译了(它仍然可以在我的旧系统上编译)。GCC给了我这样的信息:error: 'sleep' was not declared in this scope我还假设daemon()也发生了同样的事情。我在谷歌上找不到任何与此相关的东西。
有没有人知道这些东西到