devrt / ros-devcontainer-vscode

ROS dev container for vscode
Other
174 stars 47 forks source link

How to open additional ports #2

Open peterlulu666 opened 4 years ago

peterlulu666 commented 4 years ago

Let's say that I want to open browser to localhost:4000. How to expose the additional port?

yosuke commented 4 years ago

Hi, You can expose additional port by editing docker-compose.yml file on the root folder.

To expose the additional port, see the following document: https://docs.docker.com/compose/compose-file/compose-file-v2/#ports