docker-compose up leads to “client and server don't have same version (client : 1.14, server: 1.12)” error but client and server have the same version

后端 未结 9 2129
别那么骄傲
别那么骄傲 2020-12-08 06:22

docker version prints:

Client version: 1.0.1
Client API version: 1.12
Go version (client): go1.2.1
Git commit (client): 990021a
Server version:          


        
9条回答
  •  醉酒成梦
    2020-12-08 07:11

    you can downgrade your docker-compose version,if you have installled your docker-compose by:

    pip install docker-compose

    you can uninstall it first by:

    pip uninstall docker-compose

    then,you can run:

    pip install docker-compose==1.3.0

    if you docker-compose up,still show the similar info,you can uninstall it(by pip uninstall docker-compose),and install a lower version docker-compose,such as:

    pip install docker-compose==1.2.0

    you can go on the loop, if still show the wrong info.

    ps:the detail version number can be found in https://github.com/docker/compose/releases

提交回复
热议问题