mirror of https://github.com/docker/docs.git
Make sure code example is correctly presented (#4839)
This commit is contained in:
parent
a74533976d
commit
25ed66a2c5
|
@ -1039,12 +1039,12 @@ for details on how healthchecks work.
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
`interval` and `timeout` are specified as
|
`interval` and `timeout` are specified as [durations](#specifying-durations).
|
||||||
[durations](#specifying-durations).
|
|
||||||
|
|
||||||
`test` must be either a string or a list. If it's a list, the first item must be
|
`test` must be either a string or a list. If it's a list, the first item must be
|
||||||
either `NONE`, `CMD` or `CMD-SHELL`. If it's a string, it's equivalent to
|
either `NONE`, `CMD` or `CMD-SHELL`. If it's a string, it's equivalent to
|
||||||
specifying `CMD-SHELL` followed by that string.
|
specifying `CMD-SHELL` followed by that string.
|
||||||
|
|
||||||
# Hit the local web app
|
# Hit the local web app
|
||||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue