From 71886834ab6ef4823dd8077e4147554a2e772814 Mon Sep 17 00:00:00 2001 From: andryyy Date: Mon, 6 Mar 2017 15:43:13 +0100 Subject: [PATCH] Add composer install hint with dynamic version include --- docs/install.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/install.md b/docs/install.md index 3b760945..f4342da5 100644 --- a/docs/install.md +++ b/docs/install.md @@ -4,7 +4,18 @@ You need Docker and Docker Compose. 1\. Learn how to install [Docker](https://docs.docker.com/engine/installation/linux/) and [Docker Compose](https://docs.docker.com/compose/install/). -Most systems can safely install Docker by running `curl -sSL https://get.docker.com/ | sh` +Quick installation for most operation systems: + +- Docker +``` +curl -sSL https://get.docker.com/ | sh +``` + +- Docker-Compose +``` +curl -L https://github.com/docker/compose/releases/download/$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose +chmod +x /usr/local/bin/docker-compose +``` Please use the latest Docker engine available and do not use the engine that ships with your distros repository. @@ -61,4 +72,4 @@ Clean-up dangling (unused) images and volumes: ``` docker rmi -f $(docker images -f "dangling=true" -q) docker volume rm $(docker volume ls -qf dangling=true) -``` \ No newline at end of file +```