简体   繁体   English

docker-compose 因断言失败错误而失败

[英]docker-compose is failing with assertion failed error

docker-compose is failing with the error below... docker-compose失败并出现以下错误...

assertion failed [header->version <= kProjectSourceVersion]: runtime library is newer than runtime (Library.cpp:99 init)断言失败 [header->version <= kProjectSourceVersion]:运行时库比运行时更新(Library.cpp:99 init)

Any inputs on why this is the case?关于为什么会这样的任何意见?

The default version of docker-compose (which is v 1.x) does not seem to support Rosetta 2 by default. docker-compose(即 v 1.x)的默认版本似乎默认不支持 Rosetta 2。 Try to check Use Docker Compose V2 option in the General preferences tab of the Docker Desktop.尝试在 Docker 桌面的常规首选项选项卡中检查使用 Docker 编写 V2选项。

Reference:https://docs.docker.com/desktop/mac/apple-silicon/#known-issues参考:https://docs.docker.com/desktop/mac/apple-silicon/#known-issues

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM