An open API service indexing awesome lists of open source software.

https://github.com/tiryoh/docker-ros-melodic-desktop

Dockerfiles of ROS Melodic + Ubuntu 18.04
https://github.com/tiryoh/docker-ros-melodic-desktop

Last synced: about 1 year ago
JSON representation

Dockerfiles of ROS Melodic + Ubuntu 18.04

Awesome Lists containing this project

README

          

# docker-ros-melodic-desktop

![](https://img.shields.io/docker/automated/tiryoh/ros-melodic-desktop.svg)
![](https://img.shields.io/docker/pulls/tiryoh/ros-melodic-desktop.svg)

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

This image is developed to use `ubuntu` user (uid=1000, gid=1000) to run the software.
If you want to run the software for other users, check [Usage](#usage) section.

## Docker Hub

https://hub.docker.com/r/tiryoh/ros-melodic-desktop/

## Docker tags

* base, latest
* ros-melodic-desktop installed
* [Dockerfile](./base/Dockerfile)
* dev
* base + NOPASSWD
* [Dockerfile](./devel/Dockerfile)

## Usage

* move into your ROS package, and just run:

```
$ docker run --rm -it -v $(pwd):/ws tiryoh/ros-melodic-desktop catkin build
```

* `/ws` directory is simbolic linked to `/home/ubuntu/catkin_ws/src/ws`

* building ROS package `` located in `~/workspace/ros/`:

```
$ docker run --rm -it -v ~/workspace/ros/:/home/ubuntu/catkin_ws/src/ tiryoh/ros-melodic-desktop catkin build
```

* specify username, UID and GID.

```
$ docker run --rm -it -e USER=dev -e USER_UID=1001 -e USER_GID=1001 tiryoh/ros-melodic-desktop
```

## License

The Apache V2.0 License

2018 (C) Tiryoh