github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/expose.md (about) 1 ####> This option file is used in: 2 ####> podman create, run 3 ####> If file is edited, make sure the changes 4 ####> are applicable to all of those. 5 #### **--expose**=*port[/protocol]* 6 7 Expose a port or a range of ports (e.g. **--expose=3300-3310**). 8 The protocol can be `tcp`, `udp` or `sctp` and if not given `tcp` is assumed. 9 This option matches the EXPOSE instruction for image builds and has no effect on 10 the actual networking rules unless **-P/--publish-all** is used to forward to all 11 exposed ports from random host ports. To forward specific ports from the host 12 into the container use the **-p/--publish** option instead.