From 601d0317bfc2e84b6a3bb6b24799f8a1e49d12b3 Mon Sep 17 00:00:00 2001 From: Muayyad Alsadi Date: Tue, 3 Sep 2019 00:19:41 +0300 Subject: [PATCH] add docs directory --- docs/Mappings.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/Mappings.md diff --git a/docs/Mappings.md b/docs/Mappings.md new file mode 100644 index 0000000..e2f8235 --- /dev/null +++ b/docs/Mappings.md @@ -0,0 +1,9 @@ +# Overview + +* `1podfw` - create all containers in one pod (inter-container communication is done via `localhost`), doing port mapping in that pod +* `1pod` - create all containers in one pod, doing port mapping in each container (does not work) +* `identity` - no mapping +* `hostnet` - use host network, and inter-container communication is done via host gateway and published ports +* `cntnet` - create a container and use it via `--network container:name` (inter-container communication via `localhost`) +* `publishall` - publish all ports to host (using `-P`) and communicate via gateway +