GithubHelp home page GithubHelp logo

Comments (10)

luxas avatar luxas commented on June 12, 2024

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.

lmn0 avatar lmn0 commented on June 12, 2024

Ahh!! I guessed it right! Not even a 32 bit java image will work on it in that case right ?

from kubernetes-on-arm.

luxas avatar luxas commented on June 12, 2024

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:

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.

lmn0 avatar lmn0 commented on June 12, 2024

Alright. Thanks for the quick reply. Really impressed! Il close this issue for now.

from kubernetes-on-arm.

luxas avatar luxas commented on June 12, 2024

BTW, Did you get Kubernetes working on your Pi?

from kubernetes-on-arm.

lmn0 avatar lmn0 commented on June 12, 2024

Yup, I did! Your repo is really helpful! Thanks so much!!

from kubernetes-on-arm.

luxas avatar luxas commented on June 12, 2024

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.

lmn0 avatar lmn0 commented on June 12, 2024

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.

luxas avatar luxas commented on June 12, 2024

Why didn't luxas/go start? It has to be pulled at least

from kubernetes-on-arm.

lmn0 avatar lmn0 commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.