add docs directory

This commit is contained in:
Muayyad Alsadi 2019-09-03 00:19:41 +03:00
parent 470f8a3851
commit 601d0317bf

9
docs/Mappings.md Normal file
View File

@ -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