Page MenuHomeVyOS Platform

containers: arguments command no longer works after quadlets
Open, NormalPublicBUG

Description

When arguments is provided in the config without the command also defined, it never makes it into the systemd unit file.

This is because arguments is gated by the existence of command which was a regression introduced when quadlets wants introduced

if 'command' in container_config:
    command = container_config['command'].strip()

    if 'arguments' in container_config:
        command += ' ' + container_config['arguments'].strip()

    out.append(f'Exec={command}')

Arguments can be used without the overriding of a containers CMD, eg

name DNS {
    arguments "-conf /config/Corefile"
    image docker.io/coredns/coredns:1.14.7
    network SERVICES {
        address 192.168.0.53
        address fdb2:3c2c::53
        mac 02:d3:cc:05:78:47
    }
    volume CONFIG {
        destination /config
        source /config/containers/dns
    }
}

Details

Version
2026.11.10-0015-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)