12 lines
No EOL
227 B
Bash
12 lines
No EOL
227 B
Bash
#!/bin/bash
|
|
|
|
CB="\e[1;34m"
|
|
NC='\033[0m' # No Color
|
|
|
|
echo -e ""
|
|
echo -e "${CB}docker container:${NC}"
|
|
echo -e ""
|
|
|
|
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.RunningFor}}" | while read -r line; do
|
|
echo " $line"
|
|
done |