docker_container: fix port order in docs (#67071)

* Fix port order.

* Forgot to remove random.
pull/67082/head
Felix Fontein 5 years ago committed by GitHub
parent 8b2ead5870
commit 28b2428d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -895,10 +895,11 @@ EXAMPLES = '''
- "127.0.0.1:8081:9001/udp" - "127.0.0.1:8081:9001/udp"
# Publish container port 9002 as a random host port # Publish container port 9002 as a random host port
- "9002" - "9002"
# Publish container port 9003 as a random host port in range 8000-8100 # Publish container port 9003 as a free host port in range 8000-8100
- "9003: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 # Publish container ports 9010-9020 to host ports 7000-7010
- "9010-9020:7000-7010" - "7000-7010:9010-9020"
env: env:
SECRET_KEY: "ssssh" SECRET_KEY: "ssssh"
# Values which might be parsed as numbers, booleans or other types by the YAML parser need to be quoted # Values which might be parsed as numbers, booleans or other types by the YAML parser need to be quoted

Loading…
Cancel
Save