summaryrefslogtreecommitdiff
path: root/test/compose/two_networks/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/compose/two_networks/docker-compose.yml')
-rw-r--r--test/compose/two_networks/docker-compose.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/compose/two_networks/docker-compose.yml b/test/compose/two_networks/docker-compose.yml
new file mode 100644
index 000000000..686396ccc
--- /dev/null
+++ b/test/compose/two_networks/docker-compose.yml
@@ -0,0 +1,11 @@
+version: '3'
+services:
+ con1:
+ image: alpine
+ command: top
+ networks:
+ - net1
+ - net2
+networks:
+ net1:
+ net2: