I
I
Ivan Shevtsov2021-01-05 14:24:08
Docker
Ivan Shevtsov, 2021-01-05 14:24:08

docker-compose. Client and server don't have the same version?

Now I'm trying to set up omaha-server, hardly anyone knows what it is, but this error is more general than one program. I have already seen solutions to this problem, but I could not interpret them for this situation due to a different version of Ubuntu (14.04), and besides, I work with Docker-compose and Docker for the first time.

There is an instruction: tyk or briefly:

$ sudo apt-get update
$ sudo apt-get install docker.io
$ sudo apt-get install python-paver python-pip
$ sudo pip install -U docker-compose
$ git clone https://github.com/Crystalnix/omaha-server.git
$ cd omaha-server
$ sudo paver up_local_dev_server


It looks pretty simple, but when you run
sudo pip install -U docker-compose
I get the following:

Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/setuptools
Storing debug log for failure in /root/.pip/pip.log


If I ignore this and move on, then when I run the last command, I get this:

ERROR: client and server don't have same version (client : 1.21, server: 1.18)


And this is where the most, for me, strange begins.

Firstly, the incomprehensibility of the error, because I do everything on the same server, where does the client and its version come from?

Secondly, where do the version data come from, if you look docker-compose -v, I get docker-compose version 1.18.0, build 8dd22a9, everything seems to match with the server version, but if I install version 1.21, then the error itself will remain with the same versions.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question