24.10 Eel - Docker config issue - documentation?

Hello,

I would really appreciate it if someone could point me to documentation about the TrueNAS specific networking configuration in docker.

I have approx 25 docker containers and one of them needs an IP on the server-network. It is against good practices but it has a valid reason.

In QNAP, I did this like this:

networks:
 qnet-static:
    driver: qnet
    driver_opts:
      iface: "bond0"
    ipam:
      driver: qnet
      options:
        iface: "bond0"
      config:
        - subnet: 10.5.1.0/24
          gateway: 10.5.1.1

The Qnet driver provided a method for getting the same subnet IP address as the network interface.

Is this somehow possible in TrueNAS please?

Thanks.

I’ve not seen “qnet” before (qnap specific it seems) but you could do that using “macvlan”.

Thanks. The qnet driver is indeed qnap specific… I was curious if TrueNAS had a specific driver but it seems not.