Browse Source

Add composer install hint with dynamic version include

andryyy 8 years ago
parent
commit
71886834ab
1 changed files with 13 additions and 2 deletions
  1. 13 2
      docs/install.md

+ 13 - 2
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/).
 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.
 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 rmi -f $(docker images -f "dangling=true" -q)
 docker volume rm $(docker volume ls -qf dangling=true)
 docker volume rm $(docker volume ls -qf dangling=true)
-```
+```