Bananian
Running Docker on Bananian
12
17085
View: 17085|Reply: 12
|
[Bananian]
Running Docker on Bananian
[Copy link]
|
|
Post Last Edited by noc at 2014-9-13 14:12
Hello world,
Has anybody tried (and succeeded) running Docker on Bananian? I found a howto for Raspbian here, but that certainly needs to be modified to work on Bananian.
Regard,
Jochen
Edit: Added link: http://stevef1uk.blogspot.de/201 ... n-raspberry-pi.html |
|
|
|
|
|
|
|
Please post the link for the Raspbian howto and I will check.
LXC, btw works fine with release 14.09 coming next week. |
|
|
|
|
|
|
|
I second this, would be interesting to know if a docker image will be available for bananian |
|
|
|
|
|
|
|
Reply 1# noc
Hi,
I think Docker requires a newer Kernel (having >=3.9 in mind), so we might have to wait for it.
FileDescriptor |
|
|
|
|
|
|
|
Strange, looks like someone already ran docker.io on a rpi
http://blog.xebia.com/2014/08/25/docker-on-a-raspberry-pi/
Step 3: Installing docker
The actual install of docker is relative easy. There is a docker version compatible with the ARM processor (that is used within the Raspberry Pi). This docker is part of the package manager of Arch Linux and the used version is 1.0.0. At the time of writing this blog docker release version 1.1.2. The missing features are
Enhanced security for the LXC driver.
.dockerignore support.
Pause containers during docker commit.
Add --tail to docker logs.
You will install docker and start is as a service on system boot by the commands:
1
2
pacman -S docker
systemctl enable docker |
|
|
|
|
|
|
|
Edited by mattrix at Thu Nov 13, 2014 21:40
Arch Linux has Docker built-in. I did the below and works great 
Download latest Arch Linux for Banana Pi
http://www.lemaker.org/resources/9-96/archlinux_for_bananapi.html
Boot and login- user: root
- pass: bananapi
Copy the Code # Change root password ## Enlarge Partion #- fdisk /dev/mmcblk0
- d
- 2
- n
- p
- 2
- [ENTER FOR DEFAULT]
- [ENTER FOR DEFAULT]
- w
- reboot
- resize2fs /dev/mmcblk0p2
Copy the Code # UPDATE ## INSTALL DOCKER ## ENABLE DOCKER SERVICE #- systemctl enable docker.service
- reboot
Copy the Code # CHECK ## RUN AN ARM DEBIAN CONTAINER #- docker run -i -t mazzolino/armhf-ubuntu:14.04 /bin/bash
Copy the Code Tested working!
You need to use ARM based images for your containers.
https://registry.hub.docker.com/u/mazzolino/armhf-ubuntu/ is a good base Ubuntu container |
|
|
|
|
|
|
|
Edited by mattrix at Fri Nov 14, 2014 01:28
I had a few problems with some of those armhf images, so I have created a Bananian base image.- docker run -i -t matthuisman/bananian:14.09 /bin/bash
Copy the Code 134MB |
|
|
|
|
|
|
|
Hi,
This does not seem to work: i installed the latest Arch image from lemaker for the BananaPI.
But I get the following error when trying to build an image with above mentioned Ubuntu images:
- n/bashlemaker polipo-container]# docker run -i -t matthuisman/bananian:14.09 /bi
- Unable to find image 'matthuisman/bananian:14.09' locally
- Pulling repository matthuisman/bananian
- 704d4a288099: Download complete
- Status: Downloaded newer image for matthuisman/bananian:14.09
- FATA[0171] Error response from daemon: Cannot start container 8b6e195186ef1454349a85eb116c335b571cbdbc60b60f3a4dbfc448b9183ad3: [8] System error: no such device
Copy the Code
It seems related to: http://forum.lemaker.org/forum.p ... mp;highlight=docker
So what are my best options to run Docker on my banana pi and run images/containers with it? |
|
|
|
|
|
|
|
Any update? Still getting "no such device" error using the latest arch image. Struggling to build a kernel with the right flags. A howto would be great. |
|
|
|
|
|
|