This repository contains a Dockerfile for building ROS and Fetch packages on top of pure Ubuntu 14.04 docker image (with openbox window manager), which runs in a headless mode, and is viewed through the vnc.
To build manually, pull the repo:
git pull https://github.com/mksmsrkn/fetchit_docker
cd fetchit_docker
chmod u+x bootstrap.sh
docker build -t fetchit_docker .
Building was tested on Ubuntu 18.04 Docker hosts.
To run the container enter:
docker run -d --name fetchit -p 5900:5900 fetchit_docker
You can use any VNC viewer of your choice to connect to the image.
VNC address: localhost
OR 0.0.0.0
OR 127.0.0.1
(other of these would work)
VNC port: 5900
(if you prefer to use another port replace the first -p value when running docker run -p $PORT:5900
)
After connecting you will see a black screen, you can make a right click to see the dropdown window managep menu, where you can open Terminal emulator (which is a Terminator by default).
You can follow the steps from the Gazebo website now to run the simulator - http://docs.fetchrobotics.com/gazebo.html#starting-the-simulator.