去年冬天,我尝试使用其docker映像来运行ShareLaTex。那时,由于让docker在我的虚拟Ubuntu 14.04服务器上运行,整个事情已经失败了。因此,今天我决定再试一次。虚拟服务器已启动并正在运行新的Ubuntu 14.04。
跟随installation instructions之后直到执行点
docker images
docker run
或
docker run hello-world
我将返回此行:
无法连接到Docker守护程序。 docker守护程序是否在此主机上运行?
回溯到过去,讨论得出结论,由于内核仅限于提供Starto,因此版本内核是不合适的。这是内核版本:
3.13.0-042stab111.12
这是旧的discussion。
似乎Strato v服务器仍不支持docker之类的docker。运行docker daemon
失败:
INFO[0000] API listen on /var/run/docker.sock
ERRO[0000] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.
WARN[0000] Running modprobe bridge br_netfilter failed with message: modprobe: ERROR: ../libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/3.13.0-042stab111.12/modules.builtin.bin'
modprobe: WARNING: Module bridge not found.
modprobe: ERROR: ../libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/3.13.0-042stab111.12/modules.builtin.bin'
modprobe: WARNING: Module br_netfilter not found.
, error: exit status 1
WARN[0000] Running modprobe nf_nat failed with message: `modprobe: ERROR: ../libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/3.13.0-042stab111.12/modules.builtin.bin'
modprobe: WARNING: Module nf_nat not found.`, error: exit status 1
INFO[0000] Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address
FATA[0000] Error starting daemon: Error initializing network controller: Error creating default "bridge" network: package not installed
无论安装了哪个内核,它都会启动:
Linux h2267479.stratoserver.net 3.13.0-042stab111.12 #1 SMP Thu Sep 17 11:38:20 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
上述错误消息中提到的内核模块未被Strato列为supported kernel modules for virtual servers。
如果您需要泊坞窗,则应切换托管人。
几周前,我从Debian 9到Ubuntu 18.04重新安装了Strato V-Server,从那时起Docker工作。在文档上,它仍然说它不受支持,因此它可能无法在所有基础架构上运行。
VPS]上的Docker(虚拟专用服务器)(目前由Strato 不支持)>。 FAQ(仅以德语发言)为您提供了很好的概述,其中哪些服务器和操作系统具有Docker支持。如前一篇文章所述,使用VPS时需要更改提供者。