docker build -t kinetic:dev .
./launch_docker.sh
Once inside the shell terminal always source
source /opt/ros/kinetic/setup.bash
Listed tqo ways to run multiple terminals
docker exec -ti ros-kinetic-only-dev1 /bin/bash source /opt/ros/kinetic/setup.bash
docker exec -i -u 0 ros-kinetic-dev bash source /opt/ros/kinetic/setup.bash
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).
As such, simply doing a docker exec command will get you back in.
docker attach
docker start -ai