container: add missing CLI command definitions

(cherry picked from commit 3bac18ee5271e5af0ee6a200e0a04b8c6bfe07bd)
This commit is contained in:
Christian Breunig 2024-02-24 09:42:55 +01:00
parent aa0c514ed0
commit b0a96edc91

View File

@ -132,15 +132,46 @@ Configuration
Disable a container.
.. cfgcmd:: set container network <networkname>
Container Networks
==================
.. cfgcmd:: set container network <name>
Creates a named container network
.. cfgcmd:: set container network <name> description
A brief description what this network is all about.
.. cfgcmd:: set container network <name> prefix <ipv4|ipv6>
Define IPv4 or IPv6 prefix for a given network name. Only one IPv4 and
one IPv6 prefix can be used per network name.
.. cfgcmd:: set container network <name> vrf <nme>
Bind container network to a given VRF instance.
Container Registry
==================
.. cfgcmd:: set container registry <name>
Adds registry to list of unqualified-search-registries. By default, for any
image that does not include the registry in the image name, Vyos will use
docker.io as the container registry.
image that does not include the registry in the image name, VyOS will use
docker.io and quay.io as the container registry.
.. cfgcmd:: set container registry <name> disable
Disable a given container registry
.. cfgcmd:: set container registry <name> authentication username
.. cfgcmd:: set container registry <name> authentication password
Some container registries require credentials to be used.
Credentials can be defined here and will only be used when adding a
container image to the system.
******************
@ -175,7 +206,10 @@ Operation Commands
Update container image
.. opcmd:: delete container image [image id|all]
Delete a particular container image based on it's image ID.
You can also delete all container images at once.
*********************
Example Configuration