mirror of https://github.com/docker/cli.git
Add cpu cfs quota to build
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
3f2bc86a4f
commit
433f49684e
|
@ -279,7 +279,7 @@ _docker_build() {
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--cpu-shares -c --cpuset-cpus --file -f --force-rm --help --memory -m --memory-swap --no-cache --pull --quiet -q --rm --tag -t" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--cpu-shares -c --cpuset-cpus --cpu-quota --file -f --force-rm --help --memory -m --memory-swap --no-cache --pull --quiet -q --rm --tag -t" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
local counter="$(__docker_pos_first_nonflag '--tag|-t')"
|
local counter="$(__docker_pos_first_nonflag '--tag|-t')"
|
||||||
|
|
Loading…
Reference in New Issue