Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hp9390/8438674a073152321ca637833a6f25b0 to your computer and use it in GitHub Desktop.
Save hp9390/8438674a073152321ca637833a6f25b0 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
@hp9390
Copy link
Author

hp9390 commented Apr 24, 2017

curl -L https://gist.githubusercontent.com/hp9390/8438674a073152321ca637833a6f25b0/raw/9f3a037ea0f294bdf5d835fa72cfadf0b95e4ca3/docker-compose-install.sh | sudo sh

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