summaryrefslogtreecommitdiff
path: root/test/compose/env_and_volume/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/compose/env_and_volume/README.md')
-rw-r--r--test/compose/env_and_volume/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/compose/env_and_volume/README.md b/test/compose/env_and_volume/README.md
new file mode 100644
index 000000000..e7d74976b
--- /dev/null
+++ b/test/compose/env_and_volume/README.md
@@ -0,0 +1,12 @@
+environment variable and volume
+===============
+
+This test creates two containers both of which are running flask. The first container has
+an environment variable called PODMAN_MSG. That container pipes the contents of PODMAN_MSG
+to a file on a shared volume between the containers. The second container then reads the
+file are returns the PODMAN_MSG value via flask (http).
+
+Validation
+------------
+* curl http://localhost:5000 and verify message
+* curl http://localhost:5001 and verify message