Docker 1.12 on Pine64 ? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6) +---- Forum: Debian (https://forum.pine64.org/forumdisplay.php?fid=24) +---- Thread: Docker 1.12 on Pine64 ? (/showthread.php?tid=2880) |
Docker 1.12 on Pine64 ? - guidtz - 12-02-2016 Hello, there is a solution to make docker 1.12 running on pine64 ? With Debian or with other Linux distribution ? For now I installed Debian Jessie pine64-image-debianbase-310102bsp image but the version of docker is 1.6. Thanks for you're advices. Regards RE: Docker 1.12 on Pine64 ? - pfeerick - 12-02-2016 Use the Ubuntu Xenial image instead... you are probably hitting the wall on Debian as the part of the debian philosophy/methodology is to hold packages back (a LOT) longer to allow more time for bugs and conflicts to be found and fixed (hence why it is (was?) preferred for low-maintenance production servers). So you don't get the latest and greatest unless you're willing to fiddle a lot. One of the many reasons Ubuntu came into being. Anyway, on the ubuntu xenial image, I am currently running Code: Docker version 1.12.1, build 23cf638 and I don"t remember having to fiddle with any special configuration stuff... I think I just did a "sudo apt-get install docker.io" and let it install all the dependencies. RE: Docker 1.12 on Pine64 ? - guidtz - 12-03-2016 Thanks pfeerick. I'll go to install it to test. RE: Docker 1.12 on Pine64 ? - guidtz - 12-03-2016 Not so good I have kernel error : Code: Dec 3 16:45:42 pine64 kernel: [ 1147.944296] aufs au_opts_verify:1602:dockerd[780]: dirperm1 breaks the protection by the permission bits on the lower branch Do you have those errors on you're installation ? Seally boy !!! I don't use arm64 docker images ... Code: # docker run -i -t arm64el/helloworld-arm64el RE: Docker 1.12 on Pine64 ? - pfeerick - 12-03-2016 (12-03-2016, 10:46 AM)guidtz Wrote: Seally boy !!! I don't use arm64 docker images ... Yeah... the trick here is to instruct docker to use aarch64 or armhf images, as docker defaults to amd64... so if you use pre-made docker recipes you'll need to edit the file before you build the container to specify aarch64/armhf. Unless docker has an option to set/override the default architecture? so in instead of ubuntu as the distro, use aarch64/ubuntu or armhf/ubuntu. And the same goes if you wanted a debian base...i.e. aarch64/debian or armhf/debian. You can see all the ready to use aarch64 base images here, and the armhf base images here. Just keep in mind that these are only tempoary solutions until Docker work out how they are going to implement multi-architecture support into the docker registry. But good to see it's working for you... have fun! RE: Docker 1.12 on Pine64 ? - guidtz - 12-03-2016 Better solution is to use aarch64 base images no ? Now I have to test it in swarm cluster Let there be rock Do you know threads or documentations about compiling recent kernel on pine64 ? RE: Docker 1.12 on Pine64 ? - umiddelb - 12-04-2016 (12-03-2016, 10:46 AM)guidtz Wrote: ...This is a known limitation due to the old aufs implementation in the 3.10 kernel. (12-03-2016, 10:46 AM)guidtz Wrote:Did you install the aufs-tools packages (cgroup-lite and apparmor is recommended as well)? (12-03-2016, 09:34 PM)guidtz Wrote: ... You may try this one. |