Skip to content

Instantly share code, notes, and snippets.

@jeefy
Last active January 25, 2021 11:14
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 11 You must be signed in to fork a gist
  • Save jeefy/7fed19a335d5caae24639e7ee7be1b71 to your computer and use it in GitHub Desktop.
Save jeefy/7fed19a335d5caae24639e7ee7be1b71 to your computer and use it in GitHub Desktop.
Rancher Compose Install Script
#!/bin/bash
# To run locally: ` curl -s https://gist.githubusercontent.com/jeefy/7fed19a335d5caae24639e7ee7be1b71/raw/install-rancher-compose.sh | sh `
VERSION_NUM="0.9.2"
wget https://github.com/rancher/rancher-compose/releases/download/v${VERSION_NUM}/rancher-compose-linux-amd64-v${VERSION_NUM}.tar.gz
tar zxf rancher-compose-linux-amd64-v${VERSION_NUM}.tar.gz
rm rancher-compose-linux-amd64-v${VERSION_NUM}.tar.gz
sudo mv rancher-compose-v${VERSION_NUM}/rancher-compose /usr/local/bin/rancher-compose
sudo chmod +x /usr/local/bin/rancher-compose
rm -r rancher-compose-v${VERSION_NUM}
@jeefy
Copy link
Author

jeefy commented Nov 29, 2017

Good catch.

@mattn9x
Copy link

mattn9x commented Jul 21, 2018

Thank you !

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