Skip to content

floft/dockerfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker

Here are a few docker images I use.

Building

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 .

Running

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

About

Dockerfiles that I use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published