automata-network / automata

Automata Network is a modular attestation layer that extends machine trust to Ethereum with TEE Coprocessors.
https://ata.network
Apache License 2.0
94 stars 19 forks source link

Fail to start a local testnet using locally built image to evaluate local changes #16

Open smilenow opened 3 years ago

smilenow commented 3 years ago

When I execute the following command in readme.md, to test how to setup an environment if we do some local changes. ./scripts/run-network.sh --build

It will occur error at the end of docker building:

Image: automata
Chain: local
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

Any suggestion about the this issue? The build will succeed if I specify the version form "3.7" to "3.3" and move it under the services key, but not sure whether this change will impact our code or logic.