This issue was suggested within a conversation in 'vyos-general-discussion' regarding configuring containers vis api/terraform:
https://vyos.slack.com/archives/C01A6CJFW1F/p1670621707955169?thread_ts=1670456965.837619&cid=C01A6CJFW1F
Related to https://phabricator.vyos.net/T4487
Two possible approaches:
- Include 'add/delete' in list of 'canonical' functions in op-mode, and expose in op-mode/container.py
- Include 'add/delete container image' in configsession.py
In either case, functions will be automatically exposed to the GraphQL API, and an endpoint can be added for the REST API.