bash-completion script for 'docker build --network' calls
__docker_plugins, the correct name for this function is
__docker_plugins_bundled.
Closes #32588
Signed-off-by: Corey Farrell <git@cfware.com>
(cherry picked from commit eede2056fedf1b9d18c0dce216d5adde0bd394da)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
| ... | ... |
@@ -2268,7 +2268,7 @@ _docker_image_build() {
|
| 2268 | 2268 |
__docker_complete_containers_all --cur "${cur#*:}"
|
| 2269 | 2269 |
;; |
| 2270 | 2270 |
*) |
| 2271 |
- COMPREPLY=( $( compgen -W "$(__docker_plugins --type Network) $(__docker_networks) container:" -- "$cur") ) |
|
| 2271 |
+ COMPREPLY=( $( compgen -W "$(__docker_plugins_bundled --type Network) $(__docker_networks) container:" -- "$cur") ) |
|
| 2272 | 2272 |
if [ "${COMPREPLY[*]}" = "container:" ] ; then
|
| 2273 | 2273 |
__docker_nospace |
| 2274 | 2274 |
fi |