From 8e7d0717ea954e235777062c6e5b71503b2d2d57 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Mon, 26 Jun 2023 13:36:37 +0100 Subject: [PATCH] cleanup docker install guide and add sudo to cmds --- guides/install-docker.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guides/install-docker.md b/guides/install-docker.md index 7493870..908e5b8 100644 --- a/guides/install-docker.md +++ b/guides/install-docker.md @@ -23,7 +23,7 @@ This guide provides step-by-step instructions for installing Docker Community Ed - Begin by updating your apt repository to ensure you have the latest package information and dependencies. Open a terminal and run the following command: ```bash -apt update +sudo apt update ``` This command will refresh the package lists and update any outdated packages on your system. @@ -31,7 +31,7 @@ This command will refresh the package lists and update any outdated packages on - Next, you need to ensure that the curl utility is installed. This tool is used to transfer data to or from a server using various protocols. If you already have curl installed, you can skip this step. Otherwise, execute the following command in the terminal to install it: ```bash -apt install curl +sudo apt install curl ``` This command will download and install curl from the Ubuntu repositories. @@ -47,13 +47,13 @@ This command downloads the Docker installation script and pipes it to the bash s - Once the installation process is complete, you can verify that Docker is working correctly. Run the following command in the terminal: ```bash -docker --version +sudo docker --version ``` This command displays the version of Docker installed on your system. You should see an output similar to the following: ```bash -➜ ~ docker --version +➜ ~ sudo docker --version Docker version 23.0.6, build ef23cbc ```