Skip to content

Instantly share code, notes, and snippets.

@a8uhnf
Created August 7, 2020 17:55
Show Gist options
  • Select an option

  • Save a8uhnf/038d23e07ee98e6c330e1f31a4310ea3 to your computer and use it in GitHub Desktop.

Select an option

Save a8uhnf/038d23e07ee98e6c330e1f31a4310ea3 to your computer and use it in GitHub Desktop.

Revisions

  1. a8uhnf created this gist Aug 7, 2020.
    24 changes: 24 additions & 0 deletions docker-install
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    #!/bin/bash

    sudo apt-get update

    sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common


    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

    sudo apt-key fingerprint 0EBFCD88

    sudo add-apt-repository \
    "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
    $(lsb_release -cs) \
    stable"

    sudo apt-get update

    sudo apt-get install docker-ce docker-ce-cli containerd.io