|
@@ -340,6 +340,10 @@ __docker_complete_capabilities() {
|
|
|
" -- "$cur" ) )
|
|
|
}
|
|
|
|
|
|
+__docker_complete_isolation() {
|
|
|
+ COMPREPLY=( $( compgen -W "default hyperv process" -- "$cur" ) )
|
|
|
+}
|
|
|
+
|
|
|
__docker_complete_log_drivers() {
|
|
|
COMPREPLY=( $( compgen -W "
|
|
|
awslogs
|
|
@@ -532,6 +536,7 @@ _docker_build() {
|
|
|
--cpu-period
|
|
|
--cpu-quota
|
|
|
--file -f
|
|
|
+ --isolation
|
|
|
--memory -m
|
|
|
--memory-swap
|
|
|
--tag -t
|
|
@@ -560,6 +565,10 @@ _docker_build() {
|
|
|
_filedir
|
|
|
return
|
|
|
;;
|
|
|
+ --isolation)
|
|
|
+ __docker_complete_isolation
|
|
|
+ return
|
|
|
+ ;;
|
|
|
--tag|-t)
|
|
|
__docker_complete_image_repos_and_tags
|
|
|
return
|
|
@@ -1455,6 +1464,7 @@ _docker_run() {
|
|
|
--group-add
|
|
|
--hostname -h
|
|
|
--ipc
|
|
|
+ --isolation
|
|
|
--kernel-memory
|
|
|
--label-file
|
|
|
--label -l
|
|
@@ -1560,6 +1570,10 @@ _docker_run() {
|
|
|
esac
|
|
|
return
|
|
|
;;
|
|
|
+ --isolation)
|
|
|
+ __docker_complete_isolation
|
|
|
+ return
|
|
|
+ ;;
|
|
|
--link)
|
|
|
case "$cur" in
|
|
|
*:*)
|