Why is the docker-compose package gone?

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?

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

Thanks.

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.

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

[QUOTE=swadm;36707]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[/QUOTE]

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.

Quick update, after some hunting the best solution I have found is to use the third party OBS release found here

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

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 [url]https://build.opensuse.org/project/show/Virtualization:containers[/url]
  python-PySocks    from [url]https://build.opensuse.org/package/show/Cloud%3AOpenStack%3AMaster/python-PySocks[/url]

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.

[QUOTE=RogerIThomas;51563]Quick update, […]
It does get a bit messy as other packages are then needed from OBS[/QUOTE]

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”.

:wink:

Regards,
J

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

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