-
Notifications
You must be signed in to change notification settings - Fork 0
/
info.sh
executable file
·45 lines (42 loc) · 2.78 KB
/
info.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# **************************************************************************** #
# #
# ::: :::::::: #
# info.sh :+: :+: :+: #
# +:+ +:+ +:+ #
# By: dcaetano <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/06/18 12:44:49 by dcaetano #+# #+# #
# Updated: 2024/06/21 23:22:02 by dcaetano ### ########.fr #
# #
# **************************************************************************** #
#!/bin/sh
clear
echo -n "\n\
██████╗ ██████╗ ██████╗██╗ ██╗███████╗██████╗ ██╗███╗ ██╗███████╗ ██████╗\n\
██╔══██╗██╔═══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗ ██║████╗ ██║██╔════╝██╔═══██╗\n\
██║ ██║██║ ██║██║ █████╔╝ █████╗ ██████╔╝ ██║██╔██╗ ██║█████╗ ██║ ██║\n\
██║ ██║██║ ██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗ ██║██║╚██╗██║██╔══╝ ██║ ██║\n\
██████╔╝╚██████╔╝╚██████╗██║ ██╗███████╗██║ ██║ ██║██║ ╚████║██║ ╚██████╔╝\n\
╚═════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═════╝\n\
"
printf '\n%*s' "$(tput cols)" '' | tr ' ' '='
echo "CONTAINERS"
printf '%*s' "$(tput cols)" '' | tr ' ' '-'
docker ps -a
printf '\n%*s' "$(tput cols)" '' | tr ' ' '='
echo "IMAGES"
printf '%*s' "$(tput cols)" '' | tr ' ' '-'
docker images -a
printf '\n%*s' "$(tput cols)" '' | tr ' ' '='
echo "NETWORKS"
printf '%*s' "$(tput cols)" '' | tr ' ' '-'
docker network ls
printf '\n%*s' "$(tput cols)" '' | tr ' ' '='
echo "VOLUMES"
printf '%*s' "$(tput cols)" '' | tr ' ' '-'
docker volume ls
printf '\n%*s' "$(tput cols)" '' | tr ' ' '='
echo "SYSTEM"
printf '%*s' "$(tput cols)" '' | tr ' ' '-'
docker system df
echo