2021-05-09 22:11:30 -04:00
|
|
|
==================
|
|
|
|
None
|
|
|
|
==================
|
|
|
|
|
|
|
|
HEALTHCHECK NONE
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(healthcheck_instruction))
|
|
|
|
|
|
|
|
==================
|
|
|
|
Custom command
|
|
|
|
==================
|
|
|
|
|
|
|
|
HEALTHCHECK CMD echo "test"
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(healthcheck_instruction
|
|
|
|
(cmd_instruction
|
2021-05-10 20:55:28 -04:00
|
|
|
(shell_command
|
|
|
|
(shell_fragment)))))
|
2021-05-09 22:11:30 -04:00
|
|
|
|
|
|
|
==================
|
|
|
|
With options
|
|
|
|
==================
|
|
|
|
|
|
|
|
HEALTHCHECK --interval=10s --retries=10 CMD echo "test"
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(healthcheck_instruction
|
|
|
|
(param)
|
|
|
|
(param)
|
|
|
|
(cmd_instruction
|
2021-05-10 20:55:28 -04:00
|
|
|
(shell_command
|
|
|
|
(shell_fragment)))))
|
2021-05-09 22:11:30 -04:00
|
|
|
|