Skip to content

Instantly share code, notes, and snippets.

@brijesh-deb
Last active January 20, 2018 03:45
Show Gist options
  • Save brijesh-deb/fb6d99e577d73b24f3dfcc35ad745ad1 to your computer and use it in GitHub Desktop.
Save brijesh-deb/fb6d99e577d73b24f3dfcc35ad745ad1 to your computer and use it in GitHub Desktop.
#Docker #Compose

Install Docker compose on EC2 instance

  • Install Docker on an EC2 instance
  • Run following commands as root
- curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` > ./docker-compose
- mv ./docker-compose /usr/bin/docker-compose
- chmod +x /usr/bin/docker-compose
- docker-compose --version
  • Note the version on curl command; change as need
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment