Merge pull request #1765 from thaJeztah/carry_181_pids_limit

Add `--pids-limit` flag to `docker update`
This commit is contained in:
Tõnis Tiigi
2019-03-21 14:11:09 -07:00
committed by GitHub
4 changed files with 10 additions and 0 deletions
+1
View File
@@ -2266,6 +2266,7 @@ _docker_container_update() {
--memory -m
--memory-reservation
--memory-swap
--pids-limit
--restart
"
+1
View File
@@ -676,6 +676,7 @@ __docker_container_subcommand() {
"($help -m --memory)"{-m=,--memory=}"[Memory limit]:Memory limit: "
"($help)--memory-reservation=[Memory soft limit]:Memory limit: "
"($help)--memory-swap=[Total memory limit with swap]:Memory limit: "
"($help)--pids-limit[Tune container pids limit (set -1 for unlimited)]"
"($help)--restart=[Restart policy]:restart policy:(no on-failure always unless-stopped)"
)
opts_help=("(: -)--help[Print usage]")