A docker network question

Hi everyone,

I have been googling but cannot seem to find an answer for this question and was looking for some advice from the forum please?

I am running

ElectricEel-24.10.2 Truenas scale

I would like to deploy some docker apps but utilise a specific network called ‘proxy’ for Traefik

When I go to deploy an app in the app catalog I cannot find anywhere to change the default network to ‘proxy’

I have already created the network and subnet.

But can see no way of using that network with the apps in the app catalog??

Anyone know how to do this please?

I realise I could deploy using docker compose on the command line, but wanted to keep everything under the servers control in the app catalog.

Thanks all

Gary

The Buildin apps don’t have a way to add a network to them. You could install portainer from the apps catalogue. The buildin apps can be edited in the portainer gui and there you can add another network.

Thanks so much for replying.

I guessed as much but thought I would ask

Thanks very much

You could also try

docker network connect proxy <containername> 

from shell/ssh session

Great idea. I’ll try that. Would that command be sticky?

Or would you need to change networks on docker restart or server reboot?

I honestly don’t know since i don’t use the build ini apps system of truenas. I’m running my stack inside a scale-jail (nspawn-container) and when incus has matured a bit more will migrate to incus.