Ubuntu 16.04 + ROS Kinetic with Gazebo 7 or later.
Install docker https://docs.docker.com/engine/installation/linux/ubuntu/
To run docker without super user:
sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo service docker restart
Install nvidia-docker (to get HW acceleration) https://github.com/NVIDIA/nvidia-docker/wiki
This repository contain the Dockerfile. Move into the directory containing the file and type
The command below will create the container from the base image if it doesn't exist and log you in.
docker build -t ros-kinetic-gazebo7 .
To make it easier, I created the launcher launch_docker.sh (you might need to call chmod +x ./launch_docker.sh first).
./launch_docker.sh