https://github.com/tiryoh/docker-ros-desktop-vnc
🐳 Dockerfiles to provide HTML5 VNC interface to access Ubuntu Desktop + ROS
https://github.com/tiryoh/docker-ros-desktop-vnc
desktop docker dockerfile ros vnc
Last synced: 12 months ago
JSON representation
🐳 Dockerfiles to provide HTML5 VNC interface to access Ubuntu Desktop + ROS
- Host: GitHub
- URL: https://github.com/tiryoh/docker-ros-desktop-vnc
- Owner: Tiryoh
- License: apache-2.0
- Created: 2020-02-12T08:19:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-18T03:01:17.000Z (about 1 year ago)
- Last Synced: 2025-04-18T16:13:23.063Z (about 1 year ago)
- Topics: desktop, docker, dockerfile, ros, vnc
- Language: Shell
- Homepage: https://memoteki.net/archives/2955
- Size: 65.4 KB
- Stars: 301
- Watchers: 6
- Forks: 63
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-ros-desktop-vnc

[](https://github.com/Tiryoh/docker-ros-desktop-vnc/actions/workflows/deploy-melodic.yml)
[](https://github.com/Tiryoh/docker-ros-desktop-vnc/actions/workflows/deploy-noetic.yml)
[](https://hub.docker.com/r/tiryoh/ros-desktop-vnc)
A Docker image to provide HTML5 VNC interface to access Ubuntu Desktop + ROS, based on [AtsushiSaito/docker-ubuntu-sweb](https://github.com/AtsushiSaito/docker-ubuntu-sweb)
ROS 2 version: https://github.com/Tiryoh/docker-ros2-desktop-vnc

このツールの詳細については以下の記事で紹介しています。
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 ghcr.io/tiryoh/ros-desktop-vnc:noetic
```
Browse http://127.0.0.1:6080/.

## Docker tags
* [`noetic`, `latest`](https://github.com/Tiryoh/docker-ros-desktop-vnc/blob/master/noetic/Dockerfile)
* [`melodic`](https://github.com/Tiryoh/docker-ros-desktop-vnc/blob/master/melodic/Dockerfile)
* ~~[`kinetic`](https://github.com/Tiryoh/docker-ros-desktop-vnc/blob/master/kinetic/Dockerfile)~~ depricated
Docker tags and build logs are listed on this page.
https://github.com/Tiryoh/docker-ros-desktop-vnc/wiki
## FAQ
### `apt update` shows an `GPG error`
Error:
```
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.ros.org/ros/ubuntu bionic InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics
E: The repository 'http://packages.ros.org/ros/ubuntu bionic InRelease' is not signed.
```
Details of this error: https://discourse.ros.org/t/ros-gpg-key-expiration-incident/20669
There are two ways to solve this.
#### 1. Update the ros-desktop-vnc image
Stop the container and re-pull the image.
Example command:
```
docker pull ghcr.io/tiryoh/ros-desktop-vnc:melodic
```
#### 2. Update the key (temporary fix)
If you do not want to stop the container, you can update the key manually.
NOTE: This is a temporaly fix. Please consider updating the image.
Example command:
```
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -
apt update
```
## License
Copyright 2020 Tiryoh\
This repository is released under the Apache License 2.0, see [LICENSE](./LICENSE).
Unless attributed otherwise, everything in this repository is under the Apache License 2.0.
### Acknowledgements
* This Dockerfile is based on [AtsushiSaito/docker-ubuntu-sweb](https://github.com/AtsushiSaito/docker-ubuntu-sweb), licensed under the [Apache License 2.0](https://github.com/AtsushiSaito/docker-ubuntu-sweb/blob/5e7ba8571d2f4d1e4fca0c1527d090c20f7f5e90/LICENSE).
* This Docker image is based on [dorowu/ubuntu-desktop-lxde-vnc](https://github.com/fcwu/docker-ubuntu-vnc-desktop), licensed under the [Apache License 2.0](https://github.com/fcwu/docker-ubuntu-vnc-desktop/blob/60f9ae18e71e9fabbfb23f67b212e64ab72c206e/LICENSE).