Comments (10)
Hello @tjskrish and thanks for using this project!
I struggled many times with this in the beginning of the project,
Docker is said run on everywhere, but that is not the case.
Docker "officially" supports just amd64
machines.
So even if docker is built on a lot of platforms, nearly every docker image is amd64
That makes nearly whole Docker Hub unavailable for ones that run things on ARM, which is 32-bit
In an ideal world, docker images could run on every machine regardless of platform.
Think of it like this:
- One 64-bit user makes a nginx image
- In the
Dockerfile
, a 64-bit nginx binary is downloaded from nginx website, to/usr/bin/nginx
- The user builds the docker image.
If I then downloaded this image and tried to run it, I wouldn't work, because of that 64-bit binary
So, therefore, docker exits before it even starts the image.
IMO, this error message could be much more user-friendly
Hope this answers your question! 😄
from kubernetes-on-arm.
Ahh!! I guessed it right! Not even a 32 bit java image will work on it in that case right ?
from kubernetes-on-arm.
I don't think so. It has to be built on ARM.
So, for this project, I've built every required image by hand.
Often things has to be compiled from source.
But if you search for e.g. armhf
on Docker Hub, you'll find useful stuff anyway.
Some cool images for ARM:
- Hypriot: https://hub.docker.com/u/hypriot
- Armbuild: https://hub.docker.com/u/armbuild
- and myself: https://hub.docker.com/u/luxas
Maybe you'll find an java image there.
If you just want to start hacking:
docker run -it luxas/raspbian /bin/bash
from kubernetes-on-arm.
Alright. Thanks for the quick reply. Really impressed! Il close this issue for now.
from kubernetes-on-arm.
BTW, Did you get Kubernetes working on your Pi?
from kubernetes-on-arm.
Yup, I did! Your repo is really helpful! Thanks so much!!
from kubernetes-on-arm.
Thanks! And I will make it better 😄
New versions of this software is released really fast.
What do you think, should I make a entry in docs/
about this?
After all, I've written it down already.
from kubernetes-on-arm.
Well, you should do it if you have the time! Iam pretty sure more people like me will find it useful. N btw, i was not able to get the go container running with the image you provided. I would also suggest adding that docker wouldn't run on 32 bit arm in the known issues.
from kubernetes-on-arm.
Why didn't luxas/go
start? It has to be pulled at least
from kubernetes-on-arm.
Its getting pulled, but not starting. I will paste the error that I am getting after a while.
from kubernetes-on-arm.
Related Issues (20)
- error restarting haproxy -- ./haproxy_reload: line 26: syntax error: unexpected redirection HOT 2
- kube-config enable-worker can't find master... HOT 11
- Kubeadm with unstable deb repo HOT 8
- $TMPDIR is not synced to the SDCard.
- Cluster state taking a long time to update... HOT 2
- Accessing host instance devices... HOT 3
- Unable to bring up services after the leader reboot- The connection to the server localhost:8080 was refused
- kube-config install remains blocked
- Raspberry Pi Kubernetes HOT 2
- registry add-on
- "kubeadm getting started guide" link in README.md is broken
- DNS & flannel not starting HOT 3
- Networking issues with Docker 1.13 HOT 3
- Packages for Jessie
- Where is the Prometheus image? HOT 1
- problem with hpa in multiplatform arch with arm and amd64
- This scripts work ? HOT 1
- kubernetes pods stuck at Container creating
- Failed to create pod sandbox
- kubectl issue
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 kubernetes-on-arm.