Giter Site home page Giter Site logo

can not run on arm server about minideb HOT 5 CLOSED

bitnami avatar bitnami commented on June 10, 2024
can not run on arm server

from minideb.

Comments (5)

juamedgod avatar juamedgod commented on June 10, 2024

Hi,

Did you get any warning when pulling the image (or when running it) related to the arch not matching the detected host platform?

To make sure the right arch image is being used, could you pull bitnami/minideb:buster-arm64 instead? Could you send us the output of executing in your host:

uname -a

from minideb.

lxm avatar lxm commented on June 10, 2024

no warnings when pulling the image

outputs of uname -a on host

Linux xxxx-g4im6 4.19.36-vhulk1907.1.0.h702.eulerosv2r8.aarch64 #1 SMP Mon Mar 16 00:02:15 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

bitnami/minideb:buster-arm64 works well
bitnami/minideb:buster will got error

container start initialization failed: standard_init_linux.go:219: exec user process caused "exec format error"

from minideb.

rafariossaa avatar rafariossaa commented on June 10, 2024

Hi
The error you got for bitnami/minideb:buster is normal as that image is for amd64 architectures.
Could you run docker images to the get images IDs ? When pulling bitnami/minideb:buster you should be getting the arm one as it is multiarch.

from minideb.

rafariossaa avatar rafariossaa commented on June 10, 2024

Hi,
I tried on a raspberry pi 4 with raspbian 64 bit and it worked for me:

pi@raspberrypi:~ $ docker pull bitnami/minideb
Using default tag: latest
latest: Pulling from bitnami/minideb
f265f31cbb78: Pull complete 
Digest: sha256:53c2e148121eaa25b5f264463d4d1327fa3a735f8253fa0c4da353b15ea76fe5
Status: Downloaded newer image for bitnami/minideb:latest

pi@raspberrypi:~ $ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
bitnami/minideb     latest              c6fac3ec5eda        46 hours ago        61.8MB

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.4.51-v8+ #1333 SMP PREEMPT Mon Aug 10 16:58:35 BST 2020 aarch64 GNU/Linux

pi@raspberrypi:~ $ docker run --rm -it bitnami/minideb ls /
bin   dev  home  media  opt   root  sbin  sys  usr
boot  etc  lib   mnt    proc  run   srv   tmp  var

from minideb.

beltran-rubo avatar beltran-rubo commented on June 10, 2024

It seems the issue could be related to the Docker client and the multiple arch variants moby/moby#34875 Could you try updating the docker client version? if not, as you mentioned, you can pull the one with 'arm' in the tag itself.

from minideb.

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.