mirror of
https://github.com/gdiepen/docker-convenience-scripts.git
synced 2025-01-18 18:19:00 +00:00
Remove not needed indentation on output lines
This commit is contained in:
parent
38c6ef5988
commit
0eccb0dd4d
@ -2,9 +2,11 @@
|
|||||||
|
|
||||||
|
|
||||||
echo "List of all volumes:"
|
echo "List of all volumes:"
|
||||||
|
echo
|
||||||
|
|
||||||
for docker_volume_id in $(docker volume ls -q)
|
for docker_volume_id in $(docker volume ls -q)
|
||||||
do
|
do
|
||||||
echo " (Un)named volume: ${docker_volume_id}"
|
echo "(Un)named volume: ${docker_volume_id}"
|
||||||
|
|
||||||
|
|
||||||
docker_volume_size=$(docker run --rm -t -v ${docker_volume_id}:/volume_data ubuntu bash -c "du -hs /volume_data | cut -f1" )
|
docker_volume_size=$(docker run --rm -t -v ${docker_volume_id}:/volume_data ubuntu bash -c "du -hs /volume_data | cut -f1" )
|
||||||
|
Loading…
Reference in New Issue
Block a user