Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
donknap committed Nov 15, 2024
1 parent 2538a92 commit fd1860f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/zh-cn/manual/container/create-option.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@

##### 健康检查

> --health-cmd='curl -f http://localhost/' \
--health-interval=10s --health-timeout=5s --health-retries=3

| 脚本执行环境 | 脚本示例 | 描述 |
| --- | --- | --- |
| 在 Docker 环境中执行 | curl -f http://localhost:80 | docker 将请求容器内的80端口地址,测试是否可以访问 |
Expand Down

0 comments on commit fd1860f

Please sign in to comment.