mirror of
https://github.com/containers/podman-compose.git
synced 2025-05-30 06:59:05 +02:00
Document existence of x-podman.interface_name
Signed-off-by: Jörn Hirschfeld <joern@hirschfeld.tech>
This commit is contained in:
parent
1cdc9e6552
commit
b1eb558b41
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user