Skip to content

Instantly share code, notes, and snippets.

@luislobo
Last active April 13, 2022 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luislobo/96a1b671886d204056c2d21a066a2c15 to your computer and use it in GitHub Desktop.
Save luislobo/96a1b671886d204056c2d21a066a2c15 to your computer and use it in GitHub Desktop.

Install key

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

get docker script

curl -fsSL https://get.docker.com -o get-docker.sh

Test script

DRY_RUN=1 sudo sh ./get-docker.sh

Run script

sudo sh ./get-docker.sh

  • In Jessie, it will fail. Install runnning:
sudo apt-get install --no-install-recommends docker-ce

Set permissions to run using current user

sudo usermod -aG docker $USER

Logout and login back again after the previous command

Test docker

docker run hello-world
@luislobo
Copy link
Author

Note: Script returns:

DEPRECATION WARNING
This Linux distribution (raspbian jessie) reached end-of-life and is no longer supported by this script.
No updates or security fixes will be released for this distribution, and users are recommended
to upgrade to a currently maintained version of raspbian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment