Torizon Docker configuration for remote container

Hi,

I wanted to know if it is possible to pass additional docker params using the Visual Studio Code plugin while using it for remote debuging?

I specifically want to pass the -p command to to docker so that it binds to specific tcp port on the host

Regards

Greetings @gauravks,

You can control what parameters your container launches with using the configuration window of the extension. For the -p flag this gets added via the ports property. You of course need to configure this prior to launching debug since once the debug container has started you can’t modify the container initialization arguments without restarting the container.

Best Regards,
Jeremias

Hi Jeremias,

Thanks for the response. I am able to use it

Regards,
Gaurav

HI @gauravks

Perfect that it works. Thanks for the feedback.

Best regards,
Jaski