cleaning
quoting, added env-file check.
This commit is contained in:
parent
5e58abd8e9
commit
9b6396f6de
@ -18,9 +18,10 @@ for i in $(docker ps --filter "name=$SearchName" --format '{{.Names}}') ; do
|
|||||||
echo -e "Service name:\t\t$ContName"
|
echo -e "Service name:\t\t$ContName"
|
||||||
echo -e "Project working dir:\t$ContPath"
|
echo -e "Project working dir:\t$ContPath"
|
||||||
echo -e "Compose files:\t\t$ComposeFile"
|
echo -e "Compose files:\t\t$ComposeFile"
|
||||||
|
echo -e "Environment files:\t$ContEnv"
|
||||||
echo -e "Container image:\t$ContImage"
|
echo -e "Container image:\t$ContImage"
|
||||||
echo
|
echo
|
||||||
echo "Mounts:"
|
echo "Mounts:"
|
||||||
docker inspect -f '{{ range .Mounts }}{{ .Source }}:{{ .Destination }}{{ printf "\n" }}{{ end }}' $i
|
docker inspect -f '{{ range .Mounts }}{{ .Source }}:{{ .Destination }}{{ printf "\n" }}{{ end }}' "$i"
|
||||||
echo
|
echo
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user