Skip to content

Instantly share code, notes, and snippets.

@yaroslavya
Last active February 17, 2019 19:19
Show Gist options
  • Select an option

  • Save yaroslavya/e5bd701216b6d9788a7a42e0060a8f62 to your computer and use it in GitHub Desktop.

Select an option

Save yaroslavya/e5bd701216b6d9788a7a42e0060a8f62 to your computer and use it in GitHub Desktop.

Revisions

  1. yaroslavya renamed this gist Feb 17, 2019. 1 changed file with 0 additions and 0 deletions.
  2. yaroslavya created this gist Feb 17, 2019.
    10 changes: 10 additions & 0 deletions docker-compose_install_on_linux
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    # 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"