Files
neoromantique-dotfiles/legacy/scripts/docker.sh
David Aizenberg 80e865f496 update dotfiles
2025-11-26 23:17:33 +01:00

13 lines
169 B
Bash
Executable File

#!/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"