PDA

View Full Version : SLES 12 SP1 Why is the docker-compose package gone?



enovaklbank
16-Aug-2016, 09:37
Hi all,

I've installed a server some weeks ago with SLES12-SP1, and had docker-compose (1.2.0-2.1) in the Container module. The only glitch was that I needed to downgrade the python-requests package as suggested in this kbarticle: https://www.novell.com/support/kb/doc.php?id=7017258
Note: "Interim solution until this will be resolved in code" - from February 2016.

Now I wanted to install another server, but can't find the package anymore. Why is it gone? Does someone has any information regarding this change?


lxelkp1k:~ # env LANG=en_US.UTF-8 zypper se docker-compose
Loading repository data...
Reading installed packages...
No packages found.

Thanks.

enovaklbank
16-Aug-2016, 10:00
The workaround is of course very simple, but that does explain why the package can't be installed by zypper.


zypper in python-PyYAML python-setuptools python-texttable python-websocket-client python-dockerpty python-docker-py python-docopt
wget http://<your-update-server>/repo/SUSE/Updates/SLE-Module-Containers/12/x86_64/update/noarch/docker-compose-1.2.0-2.1.noarch.rpm
rpm -Uvh docker-compose-1.2.0-2.1.noarch.rpm

The package is in the repository but can not be found/installed using zypper.

swadm
23-Feb-2017, 11:23
Support told me that docker-compose packet was only provided as tech preview in SLES12 and has been dropped because of "invasive dependencies". They pointed me to Kubernetes as supported solution.

Comments on that decision? I have the impression that Kubernetes as a replacement for docker-compose is like to taking a sledgehammer to crack a nut?

Tom

RogerIThomas
13-Mar-2018, 21:21
Support told me that docker-compose packet was only provided as tech preview in SLES12 and has been dropped because of "invasive dependencies". They pointed me to Kubernetes as supported solution.

Comments on that decision? I have the impression that Kubernetes as a replacement for docker-compose is like to taking a sledgehammer to crack a nut?

Tom

I think the support team need to remember that users are trying to use the OS as a platform to do things, rather than re-invent solutions that already work/deploy on other platforms. If they have found issues with docker-compose it would be great for them to document them, but docker-compose is still a required solution to get many things done.

RogerIThomas
15-Mar-2018, 14:44
Quick update, after some hunting the best solution I have found is to use the third party OBS release found here

https://build.opensuse.org/package/show/home:M0ses:Infrastructure/docker-compose

It does get a bit messy as other packages are then needed from OBS and currently I have got as far as including both

python-dockerpty from https://build.opensuse.org/project/show/Virtualization:containers
python-PySocks from https://build.opensuse.org/package/show/Cloud%3AOpenStack%3AMaster/python-PySocks

This gets me as far as docker-compose passing it's own internal checks at the command line. As I learn/understand more I will try and post an update.

jmozdzen
19-Mar-2018, 14:49
I think the support team need to remember that users are trying to use the OS as a platform to do things, rather than re-invent solutions that already work/deploy on other platforms. If they have found issues with docker-compose it would be great for them to document them[...]


Quick update, [...]
It does get a bit messy as other packages are then needed from OBS

So maybe have a look at support's statement again, as relayed by Tom:

> Support told me that docker-compose packet [...] has been dropped because of "invasive dependencies".

;)

Regards,
J

sdhaval
02-Apr-2018, 11:06
Hello,

I ran into this requirement as well and tried installing number of rpms. Finally I had to give up as I ended up with conflicts all around. It is then that i stumbled on the web that it would be easier to use "pip". And use this python package management tool to install docker-compose.


zypper install python-pip

pip install -U docker-compose

-Thanks,
Dhaval

malcolmlewis
02-Apr-2018, 15:06
Hi
But if you add SUSE Package Hub repository, it's available there;
https://packagehub.suse.com/packages/docker-compose/

By using Package Hub the system will still be supported, not the package.... See https://packagehub.suse.com/#features