Here are a few docker images I use.
cd ros
sudo docker build -t ros .
cd ros_web
sudo docker build --no-cache -t ros_web . # --no-cache to force update git clone
cd tf
sudo docker build -t tf .
alias ros='sudo docker run --rm -it -v "/home/garrett/.ros:/root/.ros" -v "/home/garrett/Documents/School/18_Spring/RAS:/ras" -v /tmp/.X11-unix:/tmp/.X11-unix --device=/dev/dri:/dev/dri --env="DISPLAY" --add-host tegra-ubuntu:$(systemd-resolve -4 tegra-ubuntu | head -n 1 | grep -Eo "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b") --add-host wsu-ras:$(systemd-resolve -4 wsu-ras | head -n 1 | grep -Eo "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b") ros'
alias roslocal='sudo docker run --rm -it -v "/home/garrett/.ros:/root/.ros" -v "/home/garrett/Documents/School/18_Spring/RAS:/ras" -v /tmp/.X11-unix:/tmp/.X11-unix --device=/dev/dri:/dev/dri --env="DISPLAY" ros'
alias rosweb='sudo docker run --rm -it -p 8080:8080 -p 9090:9090 ros_web'
ros
roslocal
rosweb