Skip to content

Instantly share code, notes, and snippets.

@yaroslavya
Last active February 17, 2019 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaroslavya/e5bd701216b6d9788a7a42e0060a8f62 to your computer and use it in GitHub Desktop.
Save yaroslavya/e5bd701216b6d9788a7a42e0060a8f62 to your computer and use it in GitHub Desktop.
based on official instructions from https://docs.docker.com/compose/install/
# loading the docker-compose from the github repo via curl
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# If the command docker-compose fails after installation, check your path.
# You can also create a symbolic link to /usr/bin or any other directory in your path.
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
# to test execute: docker-compose --version
# which should give you: "docker-compose version 1.23.2, build 1110ad01"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment