mirror of
https://github.com/anjia0532/gcr.io_mirror.git
synced 2025-09-23 12:19:22 +08:00
Update deploy.sh
This commit is contained in:
@@ -240,8 +240,6 @@ do
|
|||||||
break
|
break
|
||||||
|
|
||||||
else
|
else
|
||||||
docker images
|
|
||||||
df -h ${docker_dir}
|
|
||||||
used=$(df -h ${docker_dir}|awk '{if(NR>1)print $5}')
|
used=$(df -h ${docker_dir}|awk '{if(NR>1)print $5}')
|
||||||
echo -e "${red} duration:${duration}s, docker root dir :${docker_dir}:used:${used}"
|
echo -e "${red} duration:${duration}s, docker root dir :${docker_dir}:used:${used}"
|
||||||
[[ ${used} > '60%' ]] && docker system prune -f -a
|
[[ ${used} > '60%' ]] && docker system prune -f -a
|
||||||
|
Reference in New Issue
Block a user