mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-03 06:13:02 +02:00
The phys container test verifies custom mounts, so let's refine and consolidate this test to focus on docker bridge features. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
32 lines
1007 B
Plaintext
32 lines
1007 B
Plaintext
=== Container with bridge network
|
|
==== Description
|
|
Verify connectivity with a simple web server container from behind a
|
|
docker0 bridge. As an added twist, this test also verifies content
|
|
mounts, i.e., custom index.html from running-config.
|
|
|
|
This also verifies port forwarding from container internal port to a
|
|
port accessed from the host.
|
|
|
|
==== Topology
|
|
ifdef::topdoc[]
|
|
image::{topdoc}../../test/case/infix_containers/container_bridge/topology.svg[Container with bridge network topology]
|
|
endif::topdoc[]
|
|
ifndef::topdoc[]
|
|
ifdef::testgroup[]
|
|
image::container_bridge/topology.svg[Container with bridge network topology]
|
|
endif::testgroup[]
|
|
ifndef::testgroup[]
|
|
image::topology.svg[Container with bridge network topology]
|
|
endif::testgroup[]
|
|
endif::topdoc[]
|
|
==== Test sequence
|
|
. Set up topology and attach to target DUT
|
|
. Create httpd container from bundled OCI image
|
|
. Verify container has started
|
|
. Verify DUT connectivity, host can reach 10.0.0.2
|
|
. Verify container is reachable on http://10.0.0.2:8080
|
|
|
|
|
|
<<<
|
|
|