devrt/ros-devcontainer-vscode

How to open additional ports

peterlulu666 opened this issue · 1 comments

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

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