docker_container: fix port order in docs (#67071)
* Fix port order. * Forgot to remove random.
This commit is contained in:
parent
8b2ead5870
commit
28b2428d22
1 changed files with 4 additions and 3 deletions
|
@ -895,10 +895,11 @@ EXAMPLES = '''
|
|||
- "127.0.0.1:8081:9001/udp"
|
||||
# Publish container port 9002 as a random host port
|
||||
- "9002"
|
||||
# Publish container port 9003 as a random host port in range 8000-8100
|
||||
- "9003:8000-8100"
|
||||
# Publish container port 9003 as a free host port in range 8000-8100
|
||||
# (the host port will be selected by the Docker daemon)
|
||||
- "8000-8100:9003"
|
||||
# Publish container ports 9010-9020 to host ports 7000-7010
|
||||
- "9010-9020:7000-7010"
|
||||
- "7000-7010:9010-9020"
|
||||
env:
|
||||
SECRET_KEY: "ssssh"
|
||||
# Values which might be parsed as numbers, booleans or other types by the YAML parser need to be quoted
|
||||
|
|
Loading…
Reference in a new issue