Use $DOCKER variable to ensure correct behaviour
This commit is contained in:
1 parent
671301974b
commit
c2f5401c6e
1 file changed
+2
-2
@@ -167,7 +167,7 @@ function container_log() {
|
||||
|
||||
while IFS='' read -r containerid
|
||||
do
|
||||
log "$prefix $containerid $(docker inspect -f {{.Name}} $containerid)"
|
||||
log "$prefix $containerid $(${DOCKER} inspect -f {{.Name}} $containerid)"
|
||||
done < "$filename"
|
||||
}
|
||||
|
||||
@@ -177,7 +177,7 @@ function image_log() {
|
||||
|
||||
while IFS='' read -r imageid
|
||||
do
|
||||
log "$prefix $imageid $(docker inspect -f {{.RepoTags}} $imageid)"
|
||||
log "$prefix $imageid $(${DOCKER} inspect -f {{.RepoTags}} $imageid)"
|
||||
done < "$filename"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user