mirror of
https://github.com/neoromantique/dotfiles.git
synced 2026-03-14 06:02:54 +03:00
update dotfiles
This commit is contained in:
12
legacy/scripts/docker.sh
Executable file
12
legacy/scripts/docker.sh
Executable 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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user