Closed ghost closed 8 years ago
So for the beginning I have to use a pre compiled docker package?
Hm, you may try this then. At the time of writing the build process didn't require Docker to be installed ...
Thx for your immediate reply. After purging every docker related stuff I tried again compiling it and the deb file works fine even there was the warning I've spoken about. So everything is fine now.
But in generel docker on ARM can only run docker images created for ARM, right?
But in generel docker on ARM can only run docker images created for ARM, right?
correct, it's the same with x86. You can of course use qemu to emulate ARM on x86. ARMv8(PINE64, ODROID-C2, Raspberry Pi 3) can execute ARMv7 (most 32 ARM CPUs) and ARMv6 (Raspberry Pi1)
Thanks for confirming! Well, self compiling docker is a good experience for a beginner like me. But is there a community repo I could use for apt-get upgrade docker automatically in the future?
Most Linux distributions already have an installer package for Docker, which includes additional configuration items as well, so sudo apt-get install docker.io
should work in most cases.
Latest Docker binaries can be found here as well.
Thanks for the Link. But just to clarfiy: I was asking for an ARM repository. The fact that I didn't find a docker package in my Debian distribution for ARM led me to your tutorial "docker on a raspberry pi in three steps". ;)
You may need to enable stable / testing repository in order to install Docker on Debian Jessie (stock Debian, not Raspbian) out of the box, please take a look here.
That's clear. I was just wondering if there are any (community-)repos for Docker on ARM devices (which I had to add to my existing repos, of course). If there are no such repos it's okay - I just wanted to ask someone like you with a lot of experience in Docker.
The Hypriot team maintains a community repo for Docker and Docker related tools (ARMv7/armhf at this time only, ARMv8/aarch64 still to come).
wget -q https://packagecloud.io/gpg.key -O - | apt-key add -
echo 'deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ wheezy main' > /etc/apt/sources.list.d/hypriot.list
Sorry, I could have find this by myself before ( http://blog.hypriot.com/post/family_arm_hardware_for_docker_more_children/ ). Thanks alot, this is what I was looking for!
Thank you very much for the nice tutorial https://github.com/umiddelb/armhf/wiki/Get-Docker-up-and-running-on-the-RaspberryPi-%28ARMv6%29-in-three-steps but there is one error for
sudo sh run-builder.sh
:So in the end: How does it work when you want to build docker for ARM for the first time but you need a docker container for this to do this? So for the beginning I have to use a pre compiled docker package?