podman-compose/docs/Mappings.md
2019-09-03 00:19:41 +03:00

588 B

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