Add integration test for default network behavior

Signed-off-by: Songmin Li <lisongmin@protonmail.com>
This commit is contained in:
Songmin Li
2024-12-18 13:21:29 +08:00
parent 2cfc617f9e
commit 420d19daf4
9 changed files with 133 additions and 0 deletions

View File

@ -0,0 +1,4 @@
services:
web:
image: busybox
command: httpd -f -p 8123 -h /tmp/

View File

@ -0,0 +1,7 @@
services:
web:
image: busybox
command: httpd -f -p 8123 -h /tmp/
x-podman:
default_net_behavior_compat: true

View File

@ -0,0 +1,7 @@
services:
web:
image: busybox
command: httpd -f -p 8123 -h /tmp/
networks:
net0: {}

View File

@ -0,0 +1,10 @@
services:
web:
image: busybox
command: httpd -f -p 8123 -h /tmp/
networks:
net0: {}
x-podman:
default_net_behavior_compat: true

View File

@ -0,0 +1,8 @@
services:
web:
image: busybox
command: httpd -f -p 8123 -h /tmp/
networks:
net0: {}
net1: {}

View File

@ -0,0 +1,11 @@
services:
web:
image: busybox
command: httpd -f -p 8123 -h /tmp/
networks:
net0: {}
net1: {}
x-podman:
default_net_behavior_compat: true

View File

@ -0,0 +1,9 @@
services:
web:
image: busybox
command: httpd -f -p 8123 -h /tmp/
networks:
net0: {}
net1: {}
default: {}

View File

@ -0,0 +1,12 @@
services:
web:
image: busybox
command: httpd -f -p 8123 -h /tmp/
networks:
net0: {}
net1: {}
default: {}
x-podman:
default_net_behavior_compat: true