docker-compose : Unsupported config option for services service: 'web'

后端 未结 1 986
甜味超标
甜味超标 2021-02-11 12:41

I am going through the Getting Started with Docker Compose page.

In Step 3, I made a docker-compose.yml file as described:

version: \'2\'
serv         


        
1条回答
  •  自闭症患者
    2021-02-11 13:09

    Support for the version 2 compose file format was introduced in docker-compose version 1.6, released around February of this year.

    You're using 1.3.3, from July 2015.

    You need to upgrade to a more recent version to use the version 2 format configuration files.

    0 讨论(0)
提交回复
热议问题