Coder Social home page Coder Social logo

Comments (7)

ierturk avatar ierturk commented on August 25, 2024 1

Hi @Tiryoh,

Thans for your reply.

When I try to build the Docker file feature/add-foxy-arm64/foxy-arm64/Dockerfile on Docker Hub, it fails due to same reason on build stage. So I decided to try Docker buildx tool on x86 machine. I tried the docker files under the folder foxy and foxy-arm64 as follow

docker buildx build --load --platform linux/arm64 --tag ierturk/ros2-desktop-vnc:latest .
docker push ierturk/ros2-desktop-vnc:latest

then run as follow on my arm64 machine

docker run -p 6080:80 --shm-size=512m ierturk/ros2-desktop-vnc:latest

The image was created from the docker file under the folder foxy gives same error. The other one was created from the docker file under the folder foxy-arm64 runs successfully. You can find the image on my docker hub account ierturk as ierturk/ros2-desktop-vnc.

Thanks and regards,
Ibrahim

from docker-ros2-desktop-vnc.

ierturk avatar ierturk commented on August 25, 2024 1

Ok. Thanks. The image works on my Toradex Verdin arm64 machine. So I'll remove the image on my repo.

By the way. There are some suggestion on how to automated build for arm64 on hub docker here but it didn't work for me.

Regards,
Ibrahim

from docker-ros2-desktop-vnc.

ierturk avatar ierturk commented on August 25, 2024 1

Ok. Thanks @Tiryoh. We can close the issue.

from docker-ros2-desktop-vnc.

Tiryoh avatar Tiryoh commented on August 25, 2024 1

Please feel free to open another issue to let me know anything 😄

from docker-ros2-desktop-vnc.

Tiryoh avatar Tiryoh commented on August 25, 2024

Hi @ierturk,

Thanks for your feedback! Sorry for my late reply.

standard_init_linux.go:211: exec user process caused "exec format error" is a common error that occurs when trying to run a Docker image on a different architecture.

This Dockerfile is based on dorowu/ubuntu-desktop-lxde-vnc.
There were several images that were not released for arm64 when I started to make this Dockerfile repository.

As a starting point, I created a PR for Dashing.
#20
I wrote "Apple Silicon" because I don't have an arm64 Linux machine, but I think it will work.
I'd appreciate it if you could try it and let me know if it works.

from docker-ros2-desktop-vnc.

Tiryoh avatar Tiryoh commented on August 25, 2024

Hi @ierturk,

I've pushed the image to the Docker Hub.
https://hub.docker.com/layers/tiryoh/ros2-desktop-vnc/foxy-arm64-20210420T0029/images/sha256-0fb95dd920bf0c14004be23f2f6708bc40104c1beda43e8dd8c303315fe574d2?context=explore

The image is available with the following command.

docker run -p 6060:80 --shm-size=512m tiryoh/ros2-desktop-vnc:foxy-arm64-20210420T0029

I used Apple Silicon MacBook Air and docker build command, not docker buildx command to build the image.

When I try to build the Docker file feature/add-foxy-arm64/foxy-arm64/Dockerfile on Docker Hub, it fails due to same reason on build stage.

It seems like that the Docker Hub automated build does not support arm64 build for non-official images.
I'm planning to use GitHub Actions to push arm64 images.
ref: 1d96efa

from docker-ros2-desktop-vnc.

Tiryoh avatar Tiryoh commented on August 25, 2024

Ok. Thanks. The image works on my Toradex Verdin arm64 machine. So I'll remove the image on my repo.

Thanks for your feedback, @ierturk!

By the way. There are some suggestion on how to automated build for arm64 on hub docker here but it didn't work for me.

Thanks for your additional information!, it did not work for me too. Maybe there could be some way to fix it...
GitHub Actions is very fast and convenient, so I'll use it for the builds.

from docker-ros2-desktop-vnc.

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.