FYI, if you’d like to try Gazebo 8, but don’t want to change you current install,
The official Gazebo Docker Hub repo has been updated to include tags for Gazebo 8:
docker pull gazebo
docker run gazebo
This will pull and run the latest image/tag of gazebo/libgazebo8.
Check out the repo page for more documentation:
https://hub.docker.com/_/gazebo/
And if you’d like to run gazebo with GUI in the container,
checkout these wiki pages as reference material:
http://wiki.ros.org/docker/Tutorials/GUI
http://wiki.ros.org/docker/Tutorials/Hardware%20Acceleration