From 6bc0bd1fc53203849f7db14d74198155198574bd Mon Sep 17 00:00:00 2001 From: lenestopage Date: Fri, 8 Jun 2018 12:04:51 -0400 Subject: [PATCH 1/2] Update install.md --- compose/install.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compose/install.md b/compose/install.md index bca5527078..fcadfdb6fd 100644 --- a/compose/install.md +++ b/compose/install.md @@ -128,6 +128,12 @@ by step instructions are also included below. ```bash sudo chmod +x /usr/local/bin/docker-compose ``` + +Note: If after installing compose you still can't use it due to the docker-compose command failing, please do the following: + +```bash +sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose +``` 3. Optionally, install [command completion](completion.md) for the `bash` and `zsh` shell. From 5415ab38c5177973dba2ffdefb14d5dbb2fe8cc8 Mon Sep 17 00:00:00 2001 From: Anne Henmi <41210220+ahh-docker@users.noreply.github.com> Date: Fri, 28 Dec 2018 09:56:30 -0700 Subject: [PATCH 2/2] Update install.md Cleaned up wording and formatting. --- compose/install.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compose/install.md b/compose/install.md index fcadfdb6fd..d6e9cc0b9f 100644 --- a/compose/install.md +++ b/compose/install.md @@ -129,7 +129,10 @@ by step instructions are also included below. sudo chmod +x /usr/local/bin/docker-compose ``` -Note: If after installing compose you still can't use it due to the docker-compose command failing, please do the following: +> ***Note:*** 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. + +For example: ```bash sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose