Raspberry Pi2 docker

Installation d’un docker avec Raspberry PI2

http://blog.xebia.com/2014/08/25/docker-on-a-raspberry-pi/
https://www.homegear.eu/index.php/Downloads
http://blog.hypriot.com/downloads/

ArchLinux

Mise à jour

pacman -Syu

Infos Système

pacman -Qi systemd

Installation

Impossible de lancer docker, avec différentes image de ArchLinux. Erreurs diverses suivant les images

Error response from daemon: Cannot start container 9cd8e5685ac3fdc8ea30082d12ca5590c55aabe82c488e731835c7516c810bcc: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/init.scope/system.slice/docker-9cd8e5685ac3fdc8ea30082d

Voir https://github.com/docker/docker/issues/16256

docker -d --exec-opt native.cgroupdriver=cgroupfs
docker run -it -p=4444:4444  selenium/standalone-firefox
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
INFO[0000] [graphdriver] using prior storage driver "aufs"
WARN[0000] Your kernel does not support cgroup memory limit: mountpoint for memory not found
INFO[0000] Loading containers: start.
......
INFO[0000] Loading containers: done.
INFO[0000] Daemon has completed initialization
INFO[0000] Docker daemon commit=786b29d execdriver=native-0.2 graphdriver=aufs version=1.7.1
INFO[0042] POST /v1.19/containers/create
ERRO[0042] Couldn't run auplink before unmount: exec: "auplink": executable file not found in $PATH
ERRO[0042] Couldn't run auplink before unmount: exec: "auplink": executable file not found in $PATH
ERRO[0042] Couldn't run auplink before unmount: exec: "auplink": executable file not found in $PATH
INFO[0043] POST /v1.19/containers/55bcd07dedc263cb7cbfb4616279424df023a9959ba12f664c01d4c16b756e51/attach?stderr=1&stdin=1&stdout=1&stream=1
INFO[0043] POST /v1.19/containers/55bcd07dedc263cb7cbfb4616279424df023a9959ba12f664c01d4c16b756e51/start
WARN[0043] exit status 1
ERRO[0044] Couldn't run auplink before unmount: exec: "auplink": executable file not found in $PATH
ERRO[0044] Handler for POST /containers/{name:.*}/start returned error: Cannot start container 55bcd07dedc263cb7cbfb4616279424df023a9959ba12f664c01d4c16b756e51: [8] System error: exec format error
ERRO[0044] HTTP Error err=Cannot start container 55bcd07dedc263cb7cbfb4616279424df023a9959ba12f664c01d4c16b756e51: [8] System error: exec format error statusCode=500

En fait, il faut trouver des iages Docker qui sont compatibles avec ARM. Ce qui n’est pas le cas de Selenium.

 

Tagués avec : , ,

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

*