Tiryoh / docker-ros-desktop-vnc

🐳 Dockerfiles to provide HTML5 VNC interface to access Ubuntu Desktop + ROS
https://memoteki.net/archives/2955
Apache License 2.0
257 stars 54 forks source link

m1pro compile code is very slow but run is normal #54

Open gxt-kt opened 3 weeks ago

gxt-kt commented 3 weeks ago

I use the docker image on my macbookpro m1pro compute. I found that the compile c++ ros project time is several times slower than my amd 4800H linux laptop. But run code is normal and not slower than my linux.

Tiryoh commented 3 weeks ago

MacBooks from M1 onwards come with ARM-based SoCs.

You can download the arm64 image directly with this command:

docker pull --platform linux/arm64 tiryoh/ros-desktop-vnc:noetic

If you want to use the amd64 image, make sure you have the latest Docker Desktop and that Rosetta 2 is enabled.

https://www.docker.com/blog/docker-desktop-4-25/