如何解决下载客户端数据时Docker compose文件无效
我正在尝试在 Void Linux 上安装 Docker 版本的 Azerothcore。当我尝试导入客户端数据时出现 docker 错误。我确保 docker 正在运行并且我四处搜索,但是这个错误(对于非 Azerothcore 问题)似乎需要对 shell 脚本进行一些编辑或一些超出我的范围。任何帮助,将不胜感激。错误说:
>>>>> Running: docker-compose run --rm ac-build bash acore.sh client-data
ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services.abstract-bind: 'profiles'
Unsupported config option for services.abstract-no-bind: 'profiles'
Unsupported config option for services.ac-authserver: 'profiles'
Unsupported config option for services.ac-authserver-prod: 'profiles'
Unsupported config option for services.ac-build: 'profiles'
Unsupported config option for services.ac-client-data-server: 'profiles'
Unsupported config option for services.ac-dev-server: 'profiles'
Unsupported config option for services.ac-tools: 'profiles'
Unsupported config option for services.ac-worldserver: 'profiles'
Unsupported config option for services.ac-worldserver-prod: 'profiles'
error: Uncaught (in promise) Error: Failed with error: 1,however,it's not related to this Deno script directly. An error occurred within
the script called by the command itself
throw new Error(`Failed with error: ${status.code},^
at Command.<anonymous> (file:///my-directory/azeroth-core/azerothcore-wotlk/apps/docker/docker-cmd.ts:290:17)
at async Promise.all (index 0)
at async file:///my-directory/azeroth-core/azerothcore-wotlk/apps/docker/docker-cmd.ts:240:5
解决方法
我的 docker-compose 版本已经过时,所以我用我的包管理器卸载了它,然后从这个网站下载了最新版本:
https://docs.docker.com/compose/install/
感谢评论中的 locus313 和 Discord 上的 ImXari,它似乎有效。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。