docker-ros2-desktop-vnc icon indicating copy to clipboard operation
docker-ros2-desktop-vnc copied to clipboard

🐳 Dockerfiles to provide HTML5 VNC interface to access Ubuntu Desktop + ROS 2

docker-ros2-desktop-vnc

Docker Automated build Publish to Registry

Dockerfiles to provide HTML5 VNC interface to access Ubuntu LXDE + ROS2, based on dorowu/ubuntu-desktop-lxde-vnc

ROS 1 version: https://github.com/Tiryoh/docker-ros-desktop-vnc

Image from Gyazo

There are official ROS 2 Docker images provided by Open Robotics.
https://github.com/osrf/docker_images/blob/master/README.md#official-library

このツールの詳細については以下の記事で紹介しています。
The details of these tools are written in Japanese on this page.
https://memoteki.net/archives/2955

Quick Start

Run the docker container and access with port 6080.
Change the shm-size value depending on the situation.

docker run -p 6080:80 --shm-size=512m tiryoh/ros2-desktop-vnc:foxy

NOTE: --security-opt seccomp=unconfined flag is required to launch humble image. See https://github.com/Tiryoh/docker-ros2-desktop-vnc/pull/56.

docker run -p 6080:80 --shm-size=512m --security-opt seccomp=unconfined tiryoh/ros2-desktop-vnc:humble

Browse http://127.0.0.1:6080/.

Image from Gyazo

Build

To build Docker image from this Dockerfile, run the following command.

  • dashing
cd dashing && docker build -t tiryoh/ros2-desktop-vnc:dashing .
  • eloquent
cd eloquent && docker build -t tiryoh/ros2-desktop-vnc:eloquent .
  • foxy
cd foxy && docker build -t tiryoh/ros2-desktop-vnc:foxy .
  • galactic
cd galactic && docker build -t tiryoh/ros2-desktop-vnc:galactic .
  • humble
cd humble && docker build -t tiryoh/ros2-desktop-vnc:humble .
  • rolling
cd rolling && docker build -t tiryoh/ros2-desktop-vnc:rolling .

Docker tags on hub.docker.com

  • ~~dashing which is based on dashing/Dockerfile~~ deprecated
  • ~~eloquent which is based on eloquent/Dockerfile~~ deprecated
  • foxy, latest which is based on foxy/Dockerfile
  • galactic which is based on galactic/Dockerfile
  • humble which is based on humble/Dockerfile
  • rolling which is based on rolling/Dockerfile

Docker tags and build logs are listed on this page.
https://github.com/Tiryoh/docker-ros2-desktop-vnc/wiki

License

Copyright 2020 Tiryoh<[email protected]>

This repository is released under the Apache License 2.0, see LICENSE.
Unless attributed otherwise, everything in this repository is under the Apache License 2.0.

Acknowledgements

This Dockerfile is based on dorowu/ubuntu-desktop-lxde-vnc, licensed under the Apache License 2.0.