Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Healthcheck doc and completion fixes #3455

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions completions/bash/podman
Original file line number Diff line number Diff line change
Expand Up @@ -1807,14 +1807,14 @@ _podman_container_run() {
if [ "$command" = "run" -o "$subcommand" = "run" ] ; then
options_with_args="$options_with_args
--detach-keys
--health-cmd
--health-interval
--health-retries
--health-timeout
--healthcheck-command
--healthcheck-interval
--healthcheck-retries
--healthcheck-start-period
--healthcheck-timeout
"
boolean_options="$boolean_options
--detach -d
--no-healthcheck
--rm
--sig-proxy=false
"
Expand Down
4 changes: 3 additions & 1 deletion docs/podman-create.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,14 @@ The following example maps uids 0-2000 in the container to the uids 30000-31999

Add additional groups to run as

**--healthcheck**=*command*
**--healthcheck-command**=*command*

Set or alter a healthcheck command for a container. The command is a command to be executed inside your
container that determines your container health. The command is required for other healthcheck options
to be applied. A value of `none` disables existing healthchecks.

Healthchecks currently only work when running as root.

**--healthcheck-interval**=*interval*

Set an interval for the healthchecks (a value of `disable` results in no automatic timer setup) (default "30s")
Expand Down
4 changes: 3 additions & 1 deletion docs/podman-run.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,14 @@ The example maps gids 0-2000 in the container to the gids 30000-31999 on the hos

Add additional groups to run as

**--healthcheck**=*command*
**--healthcheck-command**=*command*

Set or alter a healthcheck command for a container. The command is a command to be executed inside your
container that determines your container health. The command is required for other healthcheck options
to be applied. A value of `none` disables existing healthchecks.

Healthchecks currently only work when running as root.

**--healthcheck-interval**=*interval*

Set an interval for the healthchecks (a value of `disable` results in no automatic timer setup) (default "30s")
Expand Down