curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
curl -fsSL https://get.docker.com -o get-docker.sh
DRY_RUN=1 sudo sh ./get-docker.sh
sudo sh ./get-docker.sh
- In Jessie, it will fail. Install runnning:
sudo apt-get install --no-install-recommends docker-ce
sudo usermod -aG docker $USER
Logout and login back again after the previous command
docker run hello-world
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.