Jai
Jai

Reputation: 41

docker-compose is failing with assertion failed error

docker-compose is failing with the error below...

assertion failed [header->version <= kProjectSourceVersion]: runtime library is newer than runtime (Library.cpp:99 init)

Any inputs on why this is the case?

Upvotes: 0

Views: 1347

Answers (1)

Anton Nikiforov
Anton Nikiforov

Reputation: 3485

The default version of docker-compose (which is v 1.x) does not seem to support Rosetta 2 by default. Try to check Use Docker Compose V2 option in the General preferences tab of the Docker Desktop.

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

Upvotes: 1

Related Questions