hi-jin / ros-humble-novnc

This is a noVNC Display Container for the user who wants to run ros2-humble in Docker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

noVNC Display Container for ROS2-Humble

Getting Started

Note

If you encounter an apt-related error, try changing the mirror URL.

1. Clone repository

git clone https://github.com/hi-jin/ros-humble-novnc.git
cd ros-humble-novnc

2. Install colima

brew install colima

3. Start colima

colima start --arch aarch64 --vm-type=vz --vz-rosetta

4. Build Image

docker build --platform linux/amd64 --no-cache -t ros-vnc .

5. Run Container

docker run --platform linux/amd64 -itd -p 8080:8080 --name ros-vnc ros-vnc

6. Enjoy ROS2 in your Docker container!

Connect to http://localhost:8080/vnc.html and run rviz2 to test your environment.

rviz2

7. (Optional) Do you want to run gazebo in the container?

curl -sSL http://get.gazebosim.org | sh

and then,

gazebo

About

This is a noVNC Display Container for the user who wants to run ros2-humble in Docker.

License:MIT License


Languages

Language:Dockerfile 87.5%Language:Shell 12.5%