This commit is contained in:
David Aizenberg
2020-11-10 01:46:56 +04:00
parent f1eb8ff64e
commit cafc9f3ff1
17 changed files with 163 additions and 383 deletions

12
scripts/docker.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Number of docker containers running
count=$(docker ps -q | wc -l | sed -r 's/^0$//g')
if [ "$count" = '' ]; then
count=0
fi
echo "🐳: $count"