Skip to content

Instantly share code, notes, and snippets.

@adamotte
Last active August 28, 2018 09:20
Show Gist options
  • Select an option

  • Save adamotte/9868db02df0362b76ee80b52ffa96b17 to your computer and use it in GitHub Desktop.

Select an option

Save adamotte/9868db02df0362b76ee80b52ffa96b17 to your computer and use it in GitHub Desktop.

Revisions

  1. Anthony Damotte revised this gist Aug 28, 2018. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion docker-ce-dietpi-install.sh
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,12 @@
    !#/bin/bash/

    # Follow : https://docs.docker.com/install/linux/docker-ce/debian/#install-using-the-repository
    # Installation for ARM SOC
    apt-get remove docker docker-engine docker.io

    apt-get update

    apt-get install jq apt-transport-https ca-certificates curl gnupg2 software-properties-common

    curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
    apt-key fingerprint 0EBFCD88

  2. Anthony Damotte created this gist Aug 24, 2018.
    14 changes: 14 additions & 0 deletions docker-ce-dietpi-install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    !#/bin/bash/

    apt-get remove docker docker-engine docker.io
    apt-get update
    apt-get install jq apt-transport-https ca-certificates curl gnupg2 software-properties-common
    curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
    apt-key fingerprint 0EBFCD88

    echo "deb [arch=armhf] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list

    apt-get update
    apt-get install docker-ce

    docker run armhf/hello-world