Skip to content

Instantly share code, notes, and snippets.

@ratacibernetica
Last active June 25, 2018 19:37
Show Gist options
  • Save ratacibernetica/54d23f897e8691c7e7915dcda657e4b0 to your computer and use it in GitHub Desktop.
Save ratacibernetica/54d23f897e8691c7e7915dcda657e4b0 to your computer and use it in GitHub Desktop.
Docker compose in HostUS.US

What? Why?

HostUs.us is a hosting company that offers a cheap VPS package, capable of running docker, although only provides an ancient docker version: 1.7.1

If you want to run modern docker stuff, you can't 'because of the version constraint.

i.e. If you try to run yum install docker-compose it'll install it but will cause errors.

Luckily, you can install a compatible docker-compose by doing:

$ curl -L https://github.com/docker/compose/releases/download/1.5.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

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

This is version 1.5.2, the last docker-compose compatible with Docker Engine 1.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment