Comments (10)
The image is built on amd64, at this time docker hub does not support arm so it would be unable to run on raspberry pi.
You might be able to build it on raspberry by changing the FROM line to match an arm image pi but I don't have a working raspberry pi to test building on at the moment.
from unifi-docker.
Makes sense. But is there anything recommend I can look into to see if I can fix it up and get running on arm?
I'm more than happy to build the image myself on arm, just need to get past this error. 😄
from unifi-docker.
Docker hub supports ARM images (see for instance this group: https://hub.docker.com/u/armhf/) and recently Docker got better support for multi-arch images (see https://developer.ibm.com/linuxonpower/2017/07/27/create-multi-architecture-docker-image/). It is still some extra effort in building such an image, but then the same image can be used for different architecture (AFAIU there is one image for amd64, one for arm and another one with just the manifest and the pointers to the other images.).
from unifi-docker.
@jcberthon docker hub only supports pre built arm images, I lack an arm system to build them on. At the very least i'd have to get docker running under an arm emulator to build those images.
from unifi-docker.
alternatively https://resin.io/blog/building-arm-containers-on-any-x86-machine-even-dockerhub/ something like that might work to build on the hub...
from unifi-docker.
@sergeifilippov try the beta branch and change FROM debian:jessie-slim
to FROM arm32v7/debian:jessie-slim
then use docker build
the beta branch currently builds to 5.5.20 but you can specify a different version by adding --build-arg PKGURL=https://dl.ubnt.com/unifi/5.4.19/unifi_sysvinit_all.deb
to your build command for example to get version 5.4.19
from unifi-docker.
@sergeifilippov oh you would also need to comment out the ENTRYPOINT ["/usr/bin/dumb-init", "--"]
line as that is not going to be a compatible binary
from unifi-docker.
Alternatively try building the new arm32v7-beta
branch it might work
from unifi-docker.
@sergeifilippov and just to overload you with options you could try jacobalberty/unifi:arm32v7-beta on the docker hub, its running unifi 5.5.20, if I can get a decent build going with the cross compile I may start tagging out regular releases from it. I have no way to test it at the moment though, I'll see if I can get qemu going to test it in in a few hours.
from unifi-docker.
Thanks everyone! I was able to run it on my RPI3 using ryansch/unifi-rpi:5.4.1.9
from unifi-docker.
Related Issues (20)
- HTTP Status 404 – Not Found HOT 1
- Login Error HOT 1
- README fix typos HOT 3
- Update image to controller version v8.0.26
- How to change log container log level? HOT 3
- move from linux server
- Huge LOAD after starting container HOT 5
- Update image to controller version v8.0.28 HOT 12
- Device Firmware not udpating HOT 3
- Unifi-docker doesn't create backup HOT 6
- Directions to force reset AP in the `Side-Projects.md` file, do not work for all APs HOT 1
- Guest Portal showing default page, no adjustments possible. HOT 1
- Improvement for readme part Adoption HOT 2
- How do I download the package for my Qnap nas? HOT 6
- Update image to controller version v8.1.113 HOT 13
- Docker compose and documentation update HOT 8
- Latest versions are not available in Docker Hub for arch. linux/arm/v7 HOT 4
- Backup is still fetching. HOT 4
- No new Device Update in Controller HOT 3
- PSA: Security Bulletin for apps <8.1.113 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unifi-docker.