From 2884c3b33ff0112f6fa6de405e38777668b66c62 Mon Sep 17 00:00:00 2001 From: Florian Hoss <65008174+flohoss@users.noreply.github.com> Date: Fri, 10 Dec 2021 09:08:43 +0100 Subject: [PATCH] Update README.md --- Docker/README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Docker/README.md b/Docker/README.md index fa78cd4..d29a5bd 100644 --- a/Docker/README.md +++ b/Docker/README.md @@ -18,11 +18,17 @@ ## Install Docker Compose V2 -```mkdir -p /usr/local/lib/docker/cli-plugins``` +```sudo mkdir -p /usr/local/lib/docker/cli-plugins``` -```curl -SL https://github.com/docker/compose/releases/download/v2.0.1/docker-compose-linux-x86_64 -o /usr/local/lib/docker/cli-plugins/docker-compose``` +```sudo curl -SL https://github.com/docker/compose/releases/download/v2.0.1/docker-compose-linux-x86_64 -o /usr/local/lib/docker/cli-plugins/docker-compose``` -```chmod +x /usr/local/lib/docker/cli-plugins/docker-compose``` +```sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose``` + +## Install Docker-Compose + +```sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose``` + +```sudo chmod +x /usr/local/bin/docker-compose``` ## Verify @@ -32,4 +38,4 @@ ## Add current user to the docker group -```sudo usermod -aG docker ${USER}``` \ No newline at end of file +```sudo usermod -aG docker ${USER}```