diff --git a/docs/installation/linux/centos.md b/docs/installation/linux/centos.md index b914a4d09e..1647f76611 100644 --- a/docs/installation/linux/centos.md +++ b/docs/installation/linux/centos.md @@ -141,15 +141,19 @@ To create the `docker` group and add your user: 1. Log into Centos as a user with `sudo` privileges. -2. Create the `docker` group and add your user. +2. Create the `docker` group. + + `sudo groupadd docker` + +3. Add your user to `docker` group. `sudo usermod -aG docker your_username` -3. Log out and log back in. +4. Log out and log back in. This ensures your user is running with the correct permissions. -4. Verify your work by running `docker` without `sudo`. +5. Verify your work by running `docker` without `sudo`. $ docker run hello-world diff --git a/docs/installation/linux/fedora.md b/docs/installation/linux/fedora.md index 3fd46e9a5a..782adc6735 100644 --- a/docs/installation/linux/fedora.md +++ b/docs/installation/linux/fedora.md @@ -135,15 +135,19 @@ To create the `docker` group and add your user: 1. Log into your system as a user with `sudo` privileges. -2. Create the `docker` group and add your user. +2. Create the `docker` group. + + `sudo groupadd docker` + +3. Add your user to `docker` group. `sudo usermod -aG docker your_username` -3. Log out and log back in. +4. Log out and log back in. This ensures your user is running with the correct permissions. -4. Verify your work by running `docker` without `sudo`. +5. Verify your work by running `docker` without `sudo`. $ docker run hello-world diff --git a/docs/installation/linux/gentoolinux.md b/docs/installation/linux/gentoolinux.md index dac0497465..3b33ee453b 100644 --- a/docs/installation/linux/gentoolinux.md +++ b/docs/installation/linux/gentoolinux.md @@ -76,6 +76,7 @@ To use Docker, the `docker` daemon must be running as **root**. To use Docker as a **non-root** user, add yourself to the **docker** group by running the following command: + $ sudo groupadd docker $ sudo usermod -a -G docker user ### OpenRC diff --git a/docs/installation/linux/oracle.md b/docs/installation/linux/oracle.md index a154346494..9513f8b85d 100644 --- a/docs/installation/linux/oracle.md +++ b/docs/installation/linux/oracle.md @@ -113,15 +113,19 @@ To create the `docker` group and add your user: 1. Log into Oracle Linux as a user with `sudo` privileges. -2. Create the `docker` group and add your user. +2. Create the `docker` group. + + sudo groupadd docker + +3. Add your user to `docker` group. sudo usermod -aG docker username -3. Log out and log back in. +4. Log out and log back in. This ensures your user is running with the correct permissions. -4. Verify your work by running `docker` without `sudo`. +5. Verify your work by running `docker` without `sudo`. $ docker run hello-world diff --git a/docs/installation/linux/rhel.md b/docs/installation/linux/rhel.md index d35d09a1b3..abf7b30ba8 100644 --- a/docs/installation/linux/rhel.md +++ b/docs/installation/linux/rhel.md @@ -133,15 +133,19 @@ To create the `docker` group and add your user: 1. Log into your machine as a user with `sudo` or `root` privileges. -2. Create the `docker` group and add your user. +2. Create the `docker` group. + + `sudo groupadd docker` + +3. Add your user to `docker` group. `sudo usermod -aG docker your_username` -3. Log out and log back in. +4. Log out and log back in. This ensures your user is running with the correct permissions. -4. Verify your work by running `docker` without `sudo`. +5. Verify your work by running `docker` without `sudo`. $ docker run hello-world diff --git a/docs/installation/linux/ubuntulinux.md b/docs/installation/linux/ubuntulinux.md index d36771894b..4a9fa71dee 100644 --- a/docs/installation/linux/ubuntulinux.md +++ b/docs/installation/linux/ubuntulinux.md @@ -239,15 +239,19 @@ To create the `docker` group and add your user: This procedure assumes you log in as the `ubuntu` user. -3. Create the `docker` group and add your user. +2. Create the `docker` group. + + $ sudo groupadd docker + +3. Add your user to `docker` group. $ sudo usermod -aG docker ubuntu -3. Log out and log back in. +4. Log out and log back in. This ensures your user is running with the correct permissions. -4. Verify your work by running `docker` without `sudo`. +5. Verify your work by running `docker` without `sudo`. $ docker run hello-world