Skip to content

Commit 73fbcde

Browse files
committed
contrib/completion: remove aufs, legacy overlay
The AuFS and (legacy) overlay storage drivers have been deprecated and removed, so remove them from the completion scripts. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 78efc98 commit 73fbcde

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

contrib/completion/bash/docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2649,7 +2649,7 @@ _docker_daemon() {
26492649
return
26502650
;;
26512651
--storage-driver|-s)
2652-
COMPREPLY=( $( compgen -W "aufs btrfs overlay2 vfs zfs" -- "$(echo "$cur" | tr '[:upper:]' '[:lower:]')" ) )
2652+
COMPREPLY=( $( compgen -W "btrfs overlay2 vfs zfs" -- "$(echo "$cur" | tr '[:upper:]' '[:lower:]')" ) )
26532653
return
26542654
;;
26552655
--storage-opt)

contrib/completion/zsh/_docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2777,7 +2777,7 @@ __docker_subcommand() {
27772777
"($help)--raw-logs[Full timestamps without ANSI coloring]" \
27782778
"($help)*--registry-mirror=[Preferred registry mirror]:registry mirror: " \
27792779
"($help)--seccomp-profile=[Path to seccomp profile]:path:_files -g \"*.json\"" \
2780-
"($help -s --storage-driver)"{-s=,--storage-driver=}"[Storage driver to use]:driver:(aufs btrfs devicemapper overlay overlay2 vfs zfs)" \
2780+
"($help -s --storage-driver)"{-s=,--storage-driver=}"[Storage driver to use]:driver:(btrfs devicemapper overlay2 vfs zfs)" \
27812781
"($help)--selinux-enabled[Enable selinux support]" \
27822782
"($help)--shutdown-timeout=[Set the shutdown timeout value in seconds]:time: " \
27832783
"($help)*--storage-opt=[Storage driver options]:storage driver options: " \

0 commit comments

Comments
 (0)