diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-08-23 11:29:50 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-08-23 11:29:50 +0000 |
commit | 7822d4f7a22cb316ac10f199bdb1836782ee2c6e (patch) | |
tree | 083b25a16965a22feb858f2880846d5324c8a60b /interface-definitions/container.xml.in | |
parent | 8c7fbec24f8bfe064d8ad804951f5ae59b54748f (diff) | |
download | vyos-1x-7822d4f7a22cb316ac10f199bdb1836782ee2c6e.tar.gz vyos-1x-7822d4f7a22cb316ac10f199bdb1836782ee2c6e.zip |
T5463: Container allow publish listen-addresses
Ability to publish multiple IP/IPv6 addresses for container
set container name c1 port web destination '80'
set container name c1 port web listen-address '192.0.2.1'
set container name c1 port web listen-address '2001:db8:1111::1'
set container name c1 port web source '8080'
--publish 192.0.2.1:8080:80/tcp --publish [2001:db8:1111::1]:8080:80/tcp
Diffstat (limited to 'interface-definitions/container.xml.in')
-rw-r--r-- | interface-definitions/container.xml.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index 6d2eb18d0..baab6104f 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -213,6 +213,7 @@ <help>Publish port to the container</help> </properties> <children> + #include <include/listen-address.xml.i> <leafNode name="source"> <properties> <help>Source host port</help> |