在Windows10Pro N上使用Docker Desktop version2.2.0.3 (42716)执行AzerothCore Docker guide,但我无法构建authserver
和worldserver
二进制文件。docker-compose up
将毫无问题地构建数据库,但无法找到构建二进制文件所需的文件。
ERROR: for azerothcore-wotlk_ac-authserver_1 Cannot start service ac-authserver: OCI runtime create failed: container_linux.go:346: starting con Creating azerothcore-wotlk_ac-worldserver_1 ... error
ERROR: for azerothcore-wotlk_ac-worldserver_1 Cannot start service ac-worldserver: OCI runtime create failed: container_linux.go:346: starting container process caused "exec \"/azeroth-server/bin/worldserver\": stat /azeroth-server/bin/worldserver: no such file or directory": unknown
我已经对系统进行了修剪和删除源,然后重新启动。这似乎注定要失败,因为它们似乎不是从./bin/acore-docker-build
命令编译而来的--然而,也没有弹出任何错误。
发布于 2020-02-17 23:21:25
我通过将azerothcore-wotlk
文件夹从默认的C:/Users/USERNAME/
文件夹转移到我的C:/
中,并将其直接放入我的Settings> Resources> File Sharing
中--我还必须在Docker的Settings> Resources> File Sharing
选项卡中与Docker共享必要的驱动器。我还使用管理员权限从C:/
运行了git。我能够使用docker-compose up
成功地构建,但是我的新问题是,在服务器构建和活动时写入git窗口的命令会被忽略,并且什么也不做。然而,Ctrl+C
确实强行关闭了它。
发布于 2020-05-16 23:30:56
由于提供了解决方案,h0lysp4nk在艾泽罗斯核心问题上获得了赞誉:
git clone
&复制数据文件,在Administratorgitbash
生成和构建容器ID,使用命令:docker ps -a
docker cp (acbuildID):/azeroth-server/bin ./acore-build-bin
cp ./acore-build-bin/authserver docker/authserver/bin/authserver && cp ./acore-build-bin/worldserver docker/worldserver/bin/worldserver && chmod +x docker/authserver/bin/authserver && chmod +x docker/worldserver/bin/worldserver
docker-compose up
https://stackoverflow.com/questions/60255241
复制相似问题