Kepa Santos
Kepa Santos

Reputation: 557

Is it possible to install docker-compose in sles 12?

I want to install docker-compose in my SUSE Linux enterprise 12 system.

I found the correct package repository for docker service.

sudo zypper ar -t https://download.opensuse.org/repositories/Virtualization:containers/SLE_12_SP3/Virtualization:containers.repo
zypper refresh
zypper install docker

I cant find anything about docker-compose, is it possible to install in SLES 12 SP3?

Upvotes: 2

Views: 3998

Answers (1)

Zeitounator
Zeitounator

Reputation: 44789

From the documentaion, if you already have the prerequisite python and pip installed and you use the "alternative install solutions", this should be as easy as:

pip install docker-compose

Although it is not the default linux install in the doc, this is by far my preferred one.

If pip is not your option and you know which version you want to install, you can go with the "official" method for linux. (replace version 1.25.0 by yours)

sudo curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Upvotes: 4

Related Questions