Try again
This commit is contained in:
parent
d73103213b
commit
3e6194821a
@ -6,5 +6,9 @@ do
|
||||
CONTAINER_MOUNTS=$(docker inspect --format '{{range .Mounts}}{{println .Source}}{{end}}' $CONTAINER_ID) # print the container's volume mounts
|
||||
echo "======== CHECKING $CONTAINER_NAME ========"
|
||||
echo "$CONTAINER_MOUNTS" | grep /mnt/nas
|
||||
echo $?
|
||||
if $?; then
|
||||
echo "NAS DEPENDENT"
|
||||
else
|
||||
echo "NOT NAS DEPENDENT"
|
||||
fi
|
||||
done
|
Loading…
Reference in New Issue
Block a user