$ docker images -a
REPOSITORY TAG IMAGE ID CREATED SIZE
vpsdemop latest 12473ad26899 2 minutes ago 1GB
<none> <none> 84a6c05698e4 2 minutes ago 1GB
<none> <none> 4011590a442e 3 minutes ago 1GB
<none> <none> fdf69123da65 3 minutes ago 1GB
...
<none> <none> b4a359727bd7 7 hours ago 112MB
ubuntu 20.04 1d622ef86b13 5 weeks ago 73.9MB
ubuntu latest 1d622ef86b13 5 weeks ago 73.9MB
$ docker system prune
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all dangling images
- all dangling build cache
Are you sure you want to continue? [y/N] y
Deleted Containers:
8df4735033ad6cedf4a3231368a99ab4e2121d717f6d025bf2773ff6c755e197
e923e2b8076739edbb33c6d5bb9864346d0ba6b7882df148bcc831f65cc9db98
...
deleted: sha256:97ee249f1d92e909be67962aaab947390273413854f6d710b0fb279e1917b36a
deleted: sha256:8b4f5330ef79a9b5b369a9168d45a49604d02761229edf60e1aa125cf4030530
Total reclaimed space: 5.38GB
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
vpsdemop latest 12473ad26899 3 minutes ago 1GB
ubuntu 20.04 1d622ef86b13 5 weeks ago 73.9MB
ubuntu latest 1d622ef86b13 5 weeks ago 73.9MB