MyNixOS website logo
option

services.podman.containers.<name>.network

The network mode or network/s to connect the container to. Equivalent to podman run --network=<option>.

Declarations
Type
string or list of string
Default
[ ]
Example
{
  _type = "literalMD";
  text = ''
    `"host"`
    or
    `"bridge_network_1"`
    or
    `[ "bridge_network_1" "bridge_network_2" ]`
  '';
}