Mapping - Grendel61/ros-visualization GitHub Wiki

Mapping Ports

There are a variety of the container's ports that relate to output from packages installed in the container.

  • 5901 = VNC Protocol for viewing the container's output on a VNC Client Viewer
  • 6901 = VNC Web Access for viewing the container's output on a web browser
  • 6006 = Tensorboard output for viewing the output of Tensorflow
  • 8888 = Jupyter port for Jupyter Notebooks

Using these ports involves adding a -p argument in your docker run

  • Run command with mapping to local port 5901 (vnc protocol) and 6901 (vnc web access):
      docker run -d -p 5901:5901 -p 6901:6901 grendel61/ros-visualization:[Docker_tag] 
  • If you want to get into the container use interactive mode -it and bash
      docker run -it -p 5901:5901 -p 6901:6901 grendel61/ros-visualization:[Docker_tag] bash
  • If you want to connect to tensorboard, run command with mapping to local port 6006:
      docker run -it -p 5901:5901 -p 6901:6901 -p 6006:6006 grendel61/ros-visualization:[Docker_tag]