c3fbe4d121d9edb8b34bfbe1aad45a1d81e9899e

Author
Andrew Robertson <andyrobo60@gmail.com>
Committer
Andrew Robertson <andyrobo60@gmail.com>
Date

Message

Add support for Docker images from custom registries

Diff

 1diff --git a/plugins/docker/_docker b/plugins/docker/_docker
 2index 25f55beca384ecdd3d4b9c970a322676e9e4599c..a82a31ad3441f78d1b79aca8220728b01fe86ff1 100644
 3--- a/plugins/docker/_docker
 4+++ b/plugins/docker/_docker
 5@@ -27,7 +27,7 @@ __docker_all_containers() {
 6 # output a selectable list of all docker images
 7 __docker_images() {
 8     declare -a img_cmd
 9-    img_cmd=($(docker images | awk 'NR>1{print $1}'))
10+    img_cmd=($(docker images | awk 'NR>1{print $1}'| sed 's/:/\\:/g'))
11     _describe 'images' img_cmd
12 }
13