Skip to content

Instantly share code, notes, and snippets.

@eff-kay
Last active March 12, 2020 12:53
Show Gist options
  • Select an option

  • Save eff-kay/aff5f16ac2d10d6c833c525d98590156 to your computer and use it in GitHub Desktop.

Select an option

Save eff-kay/aff5f16ac2d10d6c833c525d98590156 to your computer and use it in GitHub Desktop.

Revisions

  1. eff-kay revised this gist Mar 12, 2020. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion docker-install-ubuntu-18
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,10 @@ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubun
    sudo apt update
    apt-cache policy docker-ce
    sudo apt install docker-ce
    sudo systemctl status docker
    sudo systemctl status docker


    id -nG
    #sudo usermod -aG docker ${USER}
    #su - ${USER}
    #id -nG
  2. eff-kay created this gist Mar 8, 2020.
    9 changes: 9 additions & 0 deletions docker-install-ubuntu-18
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    #!/bin/bash
    sudo apt update
    sudo apt install apt-transport-https ca-certificates curl software-properties-common
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
    sudo apt update
    apt-cache policy docker-ce
    sudo apt install docker-ce
    sudo systemctl status docker