gpt4 book ai didi

docker - docker 现在还不能在 Strato 托管的虚拟服务器上运行吗?

转载 作者:IT老高 更新时间:2023-10-28 21:25:45 26 4
gpt4 key购买 nike

去年冬天,我尝试使用其 docker 镜像运行 ShareLaTex。那时,让 docker 在我的虚拟 Ubuntu 14.04 服务器上运行,整个事情已经失败了。所以今天我决定再试一次。虚拟服务器已启动并运行全新的 Ubuntu 14.04。

关注installation instructions后直到执行为止

docker images

docker run

docker run hello-world

我将返回此行:

无法连接到 Docker 守护程序。 docker daemon 是否在此主机上运行?

所以回到过去,讨论得出的结论是内核版本不合适,因为内核仅限于提供 Starto。所以这是内核版本:

3.13.0-042stab111.12

那是旧的 discussion .

最佳答案

似乎 Strato v-servers 仍然不支持 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 .

如果你需要 docker,你应该切换你的主机。

关于docker - docker 现在还不能在 Strato 托管的虚拟服务器上运行吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34068463/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com