From b1eb558b4158334893dda70e93180a09ccd02626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Hirschfeld?= Date: Sun, 23 Feb 2025 00:44:36 +0100 Subject: [PATCH] Document existence of x-podman.interface_name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Hirschfeld --- docs/Extensions.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/Extensions.md b/docs/Extensions.md index 12b85b2..11f01c3 100644 --- a/docs/Extensions.md +++ b/docs/Extensions.md @@ -86,7 +86,7 @@ networks: - subnet: "192.168.1.0/24" services: - webserver + webserver: image: "busybox" command: ["/bin/busybox", "httpd", "-f", "-h", "/etc", "-p", "8001"] networks: @@ -98,6 +98,10 @@ services: mac_address: "02:bb:bb:bb:bb:bb" # mac_address is supported ``` +## Per-network interface name + +Using `x-podman.interface_name` within a containers network config you can specify the interface name inside the container. + ## Podman-specific network modes Generic docker-compose supports the following values for `network-mode` for a container: