Skip to content

Commit 2ddc76b

Browse files
committed
tweak README wording re: UDP ports
1 parent f09b495 commit 2ddc76b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ container exposes will be made available to your test suite via environment
3838
variables of the form `<image-basename>_<exposed-port>_<proto>`. For
3939
instance, for the postgresql container, there will be an environment
4040
variable `POSTGRES_5432_TCP` whose value is the ephemeral port number that
41-
docker has bound the container's port 5432 to.
42-
NB! Since it's not possible to check whether UDP port is open
43-
it's just mapping to environment variable without any checks that service up and running.
41+
docker has bound the container's port 5432 to.
42+
43+
Likewise, exposed UDP ports will have environment variables like
44+
`TELEGRAF_8092_UDP` whose value is the ephemeral port number that docker has
45+
bound. NB! Since it's not possible to check whether UDP port is open it's
46+
just mapping to environment variable without any checks that service up and
47+
running.

0 commit comments

Comments
 (0)