Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 973 Bytes

docker.md

File metadata and controls

19 lines (15 loc) · 973 Bytes

Docker Configuration

Docker is a powerful tool for managing and deploying applications in a consistent and reproducible manner, and it is also increasingly being used in robotic applications. Docker containers are designed to be reproducible, meaning that the same container image will produce the same results regardless of where it is run. This is important in robotic applications where the behavior of the robot needs to be consistent across different deployments.

First cd to the docker directory

cd docker/<distro>

Then build the image using docker file

docker build -t ros-motion-planning:<distro> --no-cache -f ./Dockerfile ../../

Finally run the container

docker run -it --env="DISPLAY" --env="QT_X11_NO_MITSHM=1" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" --name=ros-motion-planning-<distro> ros-motion-planning:<distro> /bin/bash

Here <distro> refers to the specific ROS distributions, i.e., kinetic, melodic, noetic.