github.com/xeptore/docker-cli@v20.10.14+incompatible/cli/command/stack/kubernetes/testdata/compose-with-expose.yml (about) 1 version: "3.7" 2 services: 3 test: 4 image: "some-image" 5 expose: 6 - "1" # default protocol, single port 7 - "2-4" # default protocol, port range 8 - "5/udp" # specific protocol, single port 9 - "6-8/udp" # specific protocol, port range