I’ve installed OpenSUSE Tumbleweed on my Raspberry Pi 2’s using the images in the wiki (https://en.opensuse.org/HCL:Raspberry_Pi2). I then tried to install Docker on them (using this wiki page), but discovered the ‘docker’ package doesn’t seem to be in the repositories.
Has anyone run into this issue and if so, how can I install docker on my Pi2’s?
Just installed the Leap 15 image to check and it only has these docker-related packages:
S | Name | Summary | Type
--+----------------------------+-----------------------------------------------------------+--------
| docker-compose | Define and run complex applications using Docker | package
| kiwi-image-docker-requires | KIWI - buildservice host requirements for docker images | package
| openscap-docker | Docker plugin for OpenSCAP | package
| openvswitch-ovn-docker | Docker network plugins for OVN | package
| pcp-pmda-docker | Performance Co-Pilot (PCP) metrics from the Docker daemon | package
| python-dockerpty | Docker API Client | package
| python2-docker | Docker API Client | package
| python2-docker-pycreds | Python bindings for the Docker credentials store API | package
| python3-docker | Docker API Client | package
| python3-docker-pycreds | Python bindings for the Docker credentials store API | package
I don’t know why it appears that docker is not being built targeting the ARMv7 platform…
https://build.opensuse.org/package/show/openSUSE:Factory/docker
Recommend you submit a feature request to https://bugzilla.opensuse.org.
You may also get a fast response if you post a request to the openSUSE Virtualization mail list (Andreas is active there).
TSU
Also,
It looks like this newly created SDB is a bit thin on info…
It will get you installed, but little more.
You may want to take a look at my version of previous openSUSE Docker install and more…
Links to both that an an earlier documentation I created can be found on the following page, the only thing you may want to do that’s not mentioned in my articles is the suggestion to install compose (which is in the SDB you referenced), but compose is only a highly recommended option (not essential to using Docker).
https://en.opensuse.org/User:Tsu2/Docker_Install
Good Luck,
TSU
Out of curiosity,
I’d never thought about trying to install Docker from source before, and if you’re also curious and/or in some kind of rush (I’m sure as soon as someone mentions to Andreas, he’d get to work setting up a build targeting ARMv7 ASAP, you might have something within days…)
It looks like building Docker is not very straight-forward, but it may also not necessarily be that difficult…
There are multiple ways to build from source, but the “easy” way requires that you have to have Docker installed first (How’s that for a Catch-22?)
http://oyvindsk.com/writing/docker-build-from-source
You can also build from source using packages which seem to include pre-compiled binaries and source, so it appears that the packages are partially compiled…
There are two repositories of which the first is the more likely one you’d want to use
https://download.docker.com/linux/static/stable/armel/
https://download.docker.com/linux/static/stable/armhf/
There is a RPi article that describes how to choose between the two repos, it appears that the choice is based on how your installed Java works…
https://www.raspberrypi.org/forums/viewtopic.php?t=20873
There is also a Docker article, but it looks like it was written for x64. I don’t know if simply substituting one of the above ARM repo packages will work with the instructions
https://docs.docker.com/install/linux/docker-ce/binaries/#install-daemon-and-client-binaries-on-linux
Note that if you compile your own, Docker may still advise against using what you created for anything but personal experimental use.
TSU