Files
infix/test/case/infix_containers/container_environment
Joachim Wiberg fe2d0f488d test/case: simplify AsciiDoc image references
This commit greatly simplifies AsciiDoc image references in generated
Readme.adoc files.  The two focused use-cases that remain after this
change are working references in:

 - Generated output/images/test-report.pdf
 - Viewing test's Readme.adoc from GitHub

Previously we aimed to have working images also when the test's Readme
was included in the parent directory's Readme.adoc.  This, however, is
not supported as of this commit.  It seems unlikely also to ever be a
supported feature of AsciiDoc on GitHub, for details, see the following
issue: <https://github.com/github/markup/issues/1095>

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2025-09-15 06:40:38 +02:00
..

ifdef::topdoc[:imagesdir: {topdoc}../../test/case/infix_containers/container_environment]

=== Container environment variables
==== Description
Verify that environment variables can be set in container configuration
and are available inside the running container.

1  Set up a container config with multiple environment variables
2. Serve variables back to host using a CGI script in container
3. Verify served content against environment variables

==== Topology
image::topology.svg[Container environment variables topology, align=center, scaledwidth=75%]

==== Sequence
. Set up topology and attach to target DUT
. Configure data interface with static IPv4
. Set up container with environment variables
. Verify container has started
. Verify basic connectivity to data interface
. Verify environment variables in CGI response