Docker Community Forums

Share and learn in the Docker community.

Fails to install docker-compose on Ubuntu 18.0.4

Following official documentation I did:

sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

Then when I check installation by:

docker-compose --version

I got:

[8024] Error -5 from inflate: (null)
[8024] Error decompressing
Failed to write all bytes for
fwrite: Bad address

Any idea?.
Thank you in advance.

Intenta instalarlo con pip

sudo apt install python-pip
sudo pip install -U docker-compose
sudo chmod +x /usr/local/bin/docker-compose