Skip to content

Instantly share code, notes, and snippets.

@marszall87
Created September 25, 2015 13:14
Show Gist options
  • Star 36 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save marszall87/ee7c5ea6f6da9f8968dd to your computer and use it in GitHub Desktop.
Save marszall87/ee7c5ea6f6da9f8968dd to your computer and use it in GitHub Desktop.
Simple script for installing latest Docker Compose on CoreOS >= 717.0.0
#!/bin/bash
mkdir -p /opt/bin
curl -L `curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.assets[].browser_download_url | select(contains("Linux") and contains("x86_64"))'` > /opt/bin/docker-compose
chmod +x /opt/bin/docker-compose
@mamachanko
Copy link

curl <link-to-raw-docker-compose-install.sh> | sudo sh

for happiness

@marszall87
Copy link
Author

curl -L https://git.io/vrBuA | sudo sh

@emcniece
Copy link

emcniece commented Oct 7, 2016

@marszall87 I wonder how many people will run that without inspecting the link contents? 😆

@marszall87
Copy link
Author

@emcniece I guess that a lot ;) TBH they should make docker-compose a part of docker, so we didn't have to create these weird scripts...

@blind3dd
Copy link

^

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