31docker pull tiryoh/ros-desktop-vnc
2
3docker run -p 6080:80 --shm-size=512m tiryoh/ros-desktop-vnc:melodic
https://hub.docker.com/r/tiryoh/ros-desktop-vnc
macos M1
https://github.com/jaismith/ros-apple-silicon http://localhost:8080/vnc.html
Connect to docker bash
11docker exec -it ros-apple-silicon_ros_1 bash
Upload files
111docker cp foo.txt container_id:/foo.txt
2
3docker cp ./logs.bag ros-apple-silicon_ros_1:/logs.bag
4
5ln -s /Users/evalds/Documents/alarm_flight_ui_2022_Q1 /Users/evalds/Desktop
6mv /Users/evalds/Desktop/alarm_flight_ui_2022_Q1 /Users/evalds/Desktop/alarm_flight_ui
7
8docker cp -L /Users/evalds/Desktop/alarm_flight_ui ros-vnc:/headless/catkin_ws/src/
9docker cp /Users/evalds/Downloads/adcwatchdog-adc_msgs ros-vnc:/headless/catkin_ws/src/
10
11docker cp /Users/evalds/Downloads/alarm.bag ros-vnc:/headless/
will be coppied in ~/catkin_ws
11docker run --privileged -it -v /Users/evalds/Desktop/alarm_flight_ui_2022_Q1:/home/ubuntu/app/src/alarm_flight_ui_2022_Q1 -p 6080:80 --shm-size=512m alarm-container:latest
11docker exec -it ros-vnc bash