This is how I installed Docker 1.10 on Raspbian on Raspi 2, which I got working thanks to:
http://blog.hypriot.com/downloads/ (for the docker deb)
http://bridge360blog.com/2016/02/12/a-f ... nd-docker/ (to solve the "Failed to restart docker.service: Unit docker.service is masked.")
Code: Select all
sander@raspi2:~ $ wget https://downloads.hypriot.com/docker-hypriot_1.10.2-1_armhf.deb
sander@raspi2:~ $ sudo dpkg -i docker-hypriot_1.10.2-1_armhf.deb
sander@raspi2:~ $ sudo service docker restart
Failed to restart docker.service: Unit docker.service is masked.
sander@raspi2:~ $ sudo systemctl unmask docker.service
Removed symlink /etc/systemd/system/docker.service.
sander@raspi2:~ $ sudo systemctl unmask docker.socket
Removed symlink /etc/systemd/system/docker.socket.
sander@raspi2:~ $ sudo service docker restart
sander@raspi2:~ $ ps -ef | grep -i docker
root 3132 1 9 20:12 ? 00:00:00 /usr/bin/docker daemon -H fd:// --storage-driver=overlay -D
sander 3191 1010 0 20:12 pts/0 00:00:00 grep --color=auto -i docker
sander@raspi2:~ $
sander@raspi2:~ $ sudo docker version
Client:
Version: 1.10.2
API version: 1.22
Go version: go1.4.3
Git commit: c3959b1
Built: Wed Feb 24 09:51:38 2016
OS/Arch: linux/arm
Server:
Version: 1.10.2
API version: 1.22
Go version: go1.4.3
Git commit: c3959b1
Built: Wed Feb 24 09:51:38 2016
OS/Arch: linux/arm
sander@raspi2:~ $
Code: Select all
sander@raspi2:~ $ sudo docker run -it armv7/armhf-ubuntu /bin/bash
root@177f2ee15bd2:/# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION="Ubuntu 15.10"
root@177f2ee15bd2:/# exit
exit
sander@raspi2:~ $Code: Select all
sander@raspi2:~ $ sudo docker search armhf-
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
armv7/armhf-ubuntu 'official' Ubuntu Docker images for the AR... 20
armv7/armhf-archlinux archlinux arm Docker image for the ARMv7(a... 10
ioft/armhf-ubuntu [ABR] Ubuntu Docker images for the ARMv7(a... 9 [OK]
container4armhf/armhf-alpine Automatically built base images of Alpine ... 7 [OK]
mazzolino/armhf-debian Debian Wheezy base image for armhf devices 6
mazzolino/armhf-ubuntu Ubuntu-Core images for armhf (ARMv7) devices 6
armv7/armhf-ubuntu_core Ubuntu Core Docker images for the ARMv7(ar... 4
moul/armhf-busybox 2 [OK]
armhf/python Python is an interpreted, interactive, obj... 1
cburki/armhf-dev Armhf (Raspberry Pi) cross development wit... 1 [OK]
ioft/armhf-debian Debian Docker images for the ARMv7(armhf) ... 1 [OK]
werwolfby/armhf-alpine-transmission Minimal alpine docker image for transmissi... 1 [OK]
werwolfby/armhf-alpine-nginx ARM hf compatible Docker Image with a mini... 1 [OK]
werwolfby/armhf-alpine-gogs ARM hf compatible Docker Image with a mini... 1 [OK]
mjschultz/ubuntu-armhf 0 [OK]
msvb/armhf-iotempire Collection of software packages to accompa... 0 [OK]
flisboac/docker-armhf-phabricator 0 [OK]
wontfix/gecko-armhf-dev Linux/armhf cross build environment for Gecko 0 [OK]
fish/alpine-armhf-dumb-init alpine-armhf-docker image with "dumb-init"... 0 [OK]
mathewpeterson/armhf-php7 This image extends the official armhf php ... 0 [OK]
armhf/ubuntu Ubuntu is a Debian-based Linux operating s... 0
armv7/armhf-ubuntu_automated-build This repo has moved to https://registry.hu... 0 [OK]
container4armhf/armhf-busybox Automated build of Busybox for armhf devic... 0 [OK]
lalyos/armhf-syncthing http://docs.syncthing.net in a container f... 0 [OK]
armhf/debian Debian is a Linux distribution that's comp... 0
sander@raspi2:~ $ sudo docker search armv7
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
armv7/armhf-ubuntu 'official' Ubuntu Docker images for the AR... 20
armv7/armhf-archlinux archlinux arm Docker image for the ARMv7(a... 10
armv7/armhf-debian Debian Docker images for the ARMv7(armhf) ... 5
armv7/armhf-fedora fedora 22, 21, 20 Docker images for the AR... 5
armv7/armhf-ubuntu_core Ubuntu Core Docker images for the ARMv7(ar... 4
thewtex/cross-compiler-linux-armv7 Linux ARMv7 cross compiler toolchain 3 [OK]
armv7/armhf-openhab openHAB ARMv7 port of tdeckers/openhab 2
daozhao/armv7-toolchain ARMv7 develper environment image 1 [OK]
armv7/armhf-baseimage Ubuntu Docker images for the ARMv7(armhf) ... 1
oysteinjakobsen/armv7-oracle-java8 Debian Wheezy ARMv7hf image with Oracle Ja... 1
jpizarrom/armv7hf-java-dockerhub armv7hf-java-dockerhub 0 [OK]
mscook/rethinkdb-armv7 RethinkDB 2.1.0 build on armv7 (Raspberry ... 0
armv7/armhf-ubuntu_automated-build This repo has moved to https://registry.hu... 0 [OK]
oysteinjakobsen/armv7-neo4j ARMv7hf image with Neo4j, meant for use on... 0
shyiko/armv7-archlinux Arch Linux ARMv7 (built on Raspberry Pi 2) 0
andrewpsuedonym/armv7-hadoop Hadoop for armv7/armhf architecture 0
shyiko/armv7-redis Redis running on Arch Linux ARMv7 (built o... 0
romlinch/btsync-armv7 0
nghiant2710/armv7-bbb 0
janeczku/docker-proxy-armv7 Docker proxy (TCP => Linux socket) for arm... 0
nghiant2710/armv7-rpi 0
janeczku/etcd-armv7 etcd for armhf/ARMv7 (RPi / Scaleway C1) 0
kaffepanna/alpine-armv7-qemu Docker image based on armbuild/alpine incl... 0 [OK]
knjcode/rpi-node-armv7 RPi-compatible Docker base image with Node... 0
jonatanschlag/debian-jessie-armv7 Debian Jessie images, build on my Odroid-X... 0
sander@raspi2:~ $