I just tried this real quick on VOXL1 and indeed there is an issue related to pty
on PC:
docker pull arm64v8/ros:rolling-ros-core docker image save arm64v8/ros:rolling-ros-core | gzip > rolling-ros-core-arm64v8.tar.gz adb push rolling-ros-core-arm64v8.tar.gz /data/on VOXL1:
adb shell cd /data docker load < rolling-ros-core-arm64v8.tar.gz cd /home/root mkdir ros2 cd ros2 docker run -it --rm --privileged -v `pwd`:/home/user -w /home/user arm64v8/ros:rolling-ros-core #now inside docker container apt-get update apt install python3-colcon-common-extensionsthen follow example to set up a demo project : https://roboticsbackend.com/ros2-launch-file-example/
run (inside docker container)
colcon build
Error:
stdout_descriptor, stdout = pty.openpty() File "/usr/lib/python3.10/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() File "/usr/lib/python3.10/pty.py", line 64, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices --- Failed <<< my_robot_bringup [0.21s, exited with code 1] Summary: 0 packages finished [3.72s] 1 package failed: my_robot_bringup 1 package had stderr output: my_robot_bringup out of pty deviceAfter doing a quick search, cannot figure it out. It is probably related to very old docker version on VOXL1.. Not sure if anything can be done..