Is it possible to add host as network to nodered container?

Hi

I need to add the normal option “–net=host” to my nodered container and I was wondering if this is possible from Portainer.

I tried stopping the container and the, at the bottom of the container details, select Join a Network and choose host, but I get an error message

44

Is it possible in any other way?

Thanks

Hi there,
This is because a container cannot be connected to any other network while on the host & vice-versa. If you try you get this error generated by docker. The solution would be to click the Duplicate/edit button while in the container details view and select & configure the host network in the network section then deploy your container again