Page MenuHomeVyOS Platform

Add “command” and “arg” configuration options for containers
Open, Requires assessmentPublicFEATURE REQUEST

Description

Containers may require additional arguments when run, both to specify the command and/or additional arguments. This is implemented in podman as follows:

podman container run [options] image [command [arg …]]

VyOS does not yet support these additional arguments, it would be great if they could be implemented as additional options.

In order to be consistent with the “task scheduler”, it could be two separate options (e.g. “command” and “args”):

set container name busybox image alpine
set container name busybox command echo
set container name busybox args “Hello World”

Or maybe an alternative syntax is better?

set container name busybox image alpine
set container name busybox command echo Hello World!

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

johannrichard renamed this task from Add “command” and “arg” configuration options to T4014: Add “command” and “arg” configuration options.Mon, Nov 22, 7:32 PM
johannrichard renamed this task from T4014: Add “command” and “arg” configuration options to Add “command” and “arg” configuration options.
johannrichard created this task.
johannrichard renamed this task from Add “command” and “arg” configuration options to Add “command” and “arg” configuration options for containers.Mon, Nov 22, 7:46 PM

We try not to use "raw options" of commands.
But I don't see another universal solution for it.

This comment was removed by Zach.