Skip to content

abeldavid/ros_kinetic_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ros_kinetic_docker

TO SETUP

Step 01

docker build -t kinetic:dev .

Step 02

./launch_docker.sh

Step 03

Once inside the shell terminal always source

source /opt/ros/kinetic/setup.bash

TO RUN MULTIPLE TERMINALS

Listed tqo ways to run multiple terminals

1. The Docker EXEC Route:

Executing From Docker without root command

docker exec -ti ros-kinetic-only-dev1 /bin/bash source /opt/ros/kinetic/setup.bash

Executing From Docker with root command

docker exec -i -u 0 ros-kinetic-dev bash source /opt/ros/kinetic/setup.bash

2. The TMUX Route:

Run tmux in the original terminal window and then create as many new terminal windows as possible. Note that tmux won’t work in a terminal window you got through docker exec (the same ttyallocation issue).

TO REUSE CONTAINERS

1. Container Shows up in docker ps output:

As such, simply doing a docker exec command will get you back in.

Original Terminal

docker attach

2. Container does not show up in docker ps output:

docker start -ai

About

Getting started with ROS using Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors