Skip to content

Instantly share code, notes, and snippets.

@bagus-Arya
Forked from kashifulhaque/docker-arch.md
Created December 14, 2024 15:07
Show Gist options
  • Save bagus-Arya/85b0353c939e9ab2755a8e99ffbb19f6 to your computer and use it in GitHub Desktop.
Save bagus-Arya/85b0353c939e9ab2755a8e99ffbb19f6 to your computer and use it in GitHub Desktop.

Revisions

  1. @kashifulhaque kashifulhaque revised this gist Jan 28, 2024. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions docker-arch.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    **If you do not have `yay` installed, then follow [these steps](https://itsfoss.com/install-yay-arch-linux) to install it first**

    ## **Update**
    ```sh
    yay
  2. @kashifulhaque kashifulhaque revised this gist Jan 28, 2024. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions docker-arch.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@
    ## **Update**
    ```sh
    sudo pacman -Syu
    yay
    ```

    ## **Install**
    ```sh
    sudo pacman -S docker docker-compose
    yay -S docker docker-compose
    ```

    ## **Start the service**
  3. @kashifulhaque kashifulhaque revised this gist Dec 18, 2023. No changes.
  4. @kashifulhaque kashifulhaque revised this gist Dec 2, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion docker-arch.md
    Original file line number Diff line number Diff line change
    @@ -18,7 +18,7 @@ sudo systemctl enable docker.service
    reboot
    ```

    ## **Liunx post-install step (to run `docker` with root or `sudo` one might say)**
    ## **Liunx post-install step (to run `docker` without root or `sudo` one might say)**
    ```sh
    sudo groupadd docker
    sudo usermod -aG docker $USER
  5. @kashifulhaque kashifulhaque created this gist Dec 2, 2023.
    26 changes: 26 additions & 0 deletions docker-arch.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    ## **Update**
    ```sh
    sudo pacman -Syu
    ```

    ## **Install**
    ```sh
    sudo pacman -S docker docker-compose
    ```

    ## **Start the service**
    ```sh
    sudo systemctl start docker.service
    ```
    **If the above command throws an error, then do the following**
    ```sh
    sudo systemctl enable docker.service
    reboot
    ```

    ## **Liunx post-install step (to run `docker` with root or `sudo` one might say)**
    ```sh
    sudo groupadd docker
    sudo usermod -aG docker $USER
    newgrp docker
    ```