I installed dokcer-ce (docker isn’t supported on Debian Jessie anymore) using the following commands.
Install https curl prerequisites:
sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
Add docker gpg
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
Add docker to sources
echo "deb [arch=armhf] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list
Apt-get update
sudo apt-get update
Install docker-ce
sudo apt-get install docker-ce
Run an Hello World test
sudo docker run armhf/hello-world
osmc@osmc:/usr/share/menu$ sudo docker run armhf/hello-world
Hello from Docker on armhf!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.