Skip to content

Instantly share code, notes, and snippets.

@mlabouardy
Created January 23, 2017 15:18
Show Gist options
  • Save mlabouardy/5236dea15be7daa8f020c20ab8e579b8 to your computer and use it in GitHub Desktop.
Save mlabouardy/5236dea15be7daa8f020c20ab8e579b8 to your computer and use it in GitHub Desktop.
Install docker-compose on CoreOS
#!/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment