2025-07-04 04:43:08 +00:00
|
|
|
# Docker GUI Forwarding
|
|
|
|
|
|
|
|
|
|
On Linux:
|
|
|
|
|
```sh
|
|
|
|
|
host +local:root
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
docker run --env DISPLAY=$DISPLAY \
|
|
|
|
|
--volume /tmp/.X11-unix:/tmp/.X11-unix \
|
|
|
|
|
--network=host \
|
2025-07-11 05:25:13 +00:00
|
|
|
-it thchzh/ros2:openarm-humble \
|
2025-07-04 04:43:08 +00:00
|
|
|
/bin/bash
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Open the MuJoCo sim at
|
|
|
|
|
[https://thomasonzhou.github.io/mujoco_anywhere/](https://thomasonzhou.github.io/mujoco_anywhere/)
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
. ~/ros2_ws/install/setup.bash && \
|
|
|
|
|
ros2 launch -d openarm_bimanual_moveit_config demo.launch.py hardware_type:=sim
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# To build the latest image (v0.3)
|
|
|
|
|
```sh
|
2025-07-11 05:25:13 +00:00
|
|
|
docker build --no-cache -t thchzh/ros2:openarm-humble .
|
2025-07-04 04:43:08 +00:00
|
|
|
```
|