You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A suggested solution, from this StackOverflow question, is to upgrade the docker-compose version, and specify the version number in the top of the yaml file.
Possible Implementation
add line in the yaml file, stating version: "3" in the header.
suggest minimum version required for docker-compose, i.e. at least 1.6, in the readme file.
The text was updated successfully, but these errors were encountered:
Docker compose file format is incompatible with old versions.
Expected Behavior
The command:
should build the container and run smoothly.
Current Behavior
The command produces, with some Docker-compose versions, the following output:
Possible Solution
The problem seems related to the docker-compose versions that have incompatible specifications for the expected yaml: https://docs.docker.com/compose/compose-file/compose-versioning/#versioning
A suggested solution, from this StackOverflow question, is to upgrade the docker-compose version, and specify the version number in the top of the yaml file.
Possible Implementation
version: "3"
in the header.The text was updated successfully, but these errors were encountered: