Difference between revisions of "Docker-compose version"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file  
 
  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  
 
  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 `versio
+
  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/
  
 
== Related terms ==
 
== Related terms ==

Revision as of 15:14, 28 July 2021

docker-compose version
docker-compose version 1.24.1, build 4667896b
docker-py version: 3.7.3
CPython version: 3.6.8
OpenSSL version: OpenSSL 1.1.0j  20 Nov 2018


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/

Related terms

See also

Advertising: