My /var/lib/docker/overlay2 directory has grown to 15G
root@ip-172-31-26-2:/# du -shc /var/lib/docker/overlay2/*
100K /var/lib/docker/overlay2/01e2bce525481b43f9daf98850dc618d8f463505facc89bf5f44f68d2d968f5f
52K /var/lib/docker/overlay2/03b10b54026784b2bb822406e11d8a5dd8931045408e46f1aa883a0f0180582d
69M /var/lib/docker/overlay2/091f56b74ed61956145a9d91be7f27da176889e9ee9bbda610352851d3a22856
24K /var/lib/docker/overlay2/0a9b4642f7618eecebfd7357c3647697ccccc1edb453a96e876ac733541f579d
36K /var/lib/docker/overlay2/0b4d264c163c904c7479b421117db96852fbc2bae72d850af8abb3ca7f6e923b
100K /var/lib/docker/overlay2/0eadc495875359646eccd52fb76695d670e9dc0c2d7e90fbf6f358a49af7c5d0
24K /var/lib/docker/overlay2/0f941e9aacc95532d51f6d3185c77486429e137da30a2b973c2fcb9d83644515
44K /var/lib/docker/overlay2/0fb3c4f0cfe6da2253c175afb517b58a8b1d8584c4b7e77f1f594bca4470f507
60K /var/lib/docker/overlay2/126c8aa9c38e481506c9e724041b0ceb81257a4cebd54c18220086e186d81ff2
17M /var/lib/docker/overlay2/1493d6e9a93eea074acb44d03d006ed0fb4d1f69d191081cc9a04be8f19b2c6e
48K /var/lib/docker/overlay2/1493d6e9a93eea074acb44d03d006ed0fb4d1f69d191081cc9a04be8f19b2c6e-init
300M /var/lib/docker/overlay2/15bd21123d95a2edda57eda87e93db902b97a71bbd21973984d562c5da184ba5
16M /var/lib/docker/overlay2/17ac8430265bcacf09a33f2ef31a862dea9fec10af2b4b7a78039adba4a3ad8d
389M /var/lib/docker/overlay2/18e97328761f471a353ad3a7c685f5586371496eb5f664ecfc2b3510878c5dfe
387M /var/lib/docker/overlay2/1a618213d1c1b8de611875d080b839686e1888861958d219caf37a1cbc7d6cab
12M /var/lib/docker/overlay2/1c8b90b9b302d031000108eb4597565aac01396d58cc69dffafed80714c5d22b
40K /var/lib/docker/overlay2/1f48dbdd730ce913981489aef7a18e56136aee8d53f552e6994f9a8381c1b089
1016K /var/lib/docker/overlay2/22997215c2df390b8cf4b80fe22207755b395c0280757b99da67737f1aa90311
32K /var/lib/docker/overlay2/26aebe0934698da534165da7e771c115ceaf4b53387e36879171fa796704f3b9
48K /var/lib/docker/overlay2/28abce4565a8689bddc69276c082ef37dde04d3c0b6a598a5d3080527d962d37
32K /var/lib/docker/overlay2/312c457442b638e3cb912323ef90cd9c89f1e6ad0b4f31d738ff26e42dfb1aed
3.3M /var/lib/docker/overlay2/32f3afa31f0b9179a15f9c4f1beb8d3718920714b348ac8436ce330965baab2c
44K /var/lib/docker/overlay2/3341fb819a2c4f0b517305df4e1f84210b2602e84e4f07d6a3bebf89544eb63b
20K /var/lib/docker/overlay2/33f56e34977136a6b5c02dd54dfaf20d66bab97524db27a1b745dbf25f84548d
3.6M /var/lib/docker/overlay2/33fc6d3c5bf1c6e3a5506747511a9a52dea007db5a657c8d334243e658eb44ea
511M /var/lib/docker/overlay2/361d20ff9aca6141c718b11aa7fa0d54bd8c4a9b5e12b528bfc1ff3cb455b15f
20K /var/lib/docker/overlay2/36705020871e2cd695b0acba33a77eba6d1ec5e430e7e25edacd8c024fe61880
128M /var/lib/docker/overlay2/372fabe47f11fc4d7a19a0d9055352fe205ba8bc1e09efe41f82cf1ec6b4d605
69M /var/lib/docker/overlay2/3cbd8f5644880709e85ab31cd3fbd9079db8b73e569e4ff1173d97f07777157a
24K /var/lib/docker/overlay2/3f9c4607bf03566e488d9565bf8866ea7aa1f02c99321d9eb9f5b457b36588f9
416M /var/lib/docker/overlay2/3fd2d626b390356efbf52611b4559b940dcbdbaeb9100e04cb6a5ce8062b1796
36K /var/lib/docker/overlay2/411bc3401dc3e393299822a5b3dfe72a4da2300ac58838696244b41bca7a8b90
483M /var/lib/docker/overlay2/44bba137072828cd8599d2faa96bc992cb2f6195b26ae930ecbaec42103c513a
40K /var/lib/docker/overlay2/44bba137072828cd8599d2faa96bc992cb2f6195b26ae930ecbaec42103c513a-init
111M /var/lib/docker/overlay2/45d92ecd8a9c795e3b29ecc83512010e94865b8fa65eceb685f7361810eef475
6.0M /var/lib/docker/overlay2/46f44839bf3ee8dd8ae63806bfea1e70784e6585044011b11f97e2c668a78185
24K /var/lib/docker/overlay2/4705525f515332e15098f25c40f5b8b40aad5b5914d07656b5e3e972f00574b1
36K /var/lib/docker/overlay2/4999061aa1744cb19c8b18b47c89c4387a6346ed0818d393056223fd7bf1f93b
511M /var/lib/docker/overlay2/4f5c6d8aba4596124ebb8bd34b551a008abc3b896bef1a8e155e8bda86752fef
709M /var/lib/docker/overlay2/4f6e2b368b29070499b4b0424d73d11090a442eefab432a31a00e86765e7c7f6
1.4G /var/lib/docker/overlay2/51d55dd6dc7aff2cc1e8d33a229780a628e7a90d5641b19091d174c4c4b0aaf4
252K /var/lib/docker/overlay2/53022737f8b88c193e2c23075f03fb9732333f0ec7811dc99331adfb76670e53
5.9M /var/lib/docker/overlay2/5582c25eb4029d8d2acebc1479501a83a34d1971833d8b45a9bb482fab1e4d3a
177M /var/lib/docker/overlay2/562c0ebfd4157b9fedccfd256a19dd31157396b953020344bf5626a2e88c76d7
24K /var/lib/docker/overlay2/58cfe193a42090795745913c27692cb346ac6770334e9d0149ac27f54971e445
384K /var/lib/docker/overlay2/58de9b3f61a99692c85fea0dea9c2b47d4974a4ac46a99f6ed31bd7e3b224825
32K /var/lib/docker/overlay2/59f3c7d755c112987225ba14ce6a38a4d6e70a9605c95e6da797a48f6b86a14f
52K /var/lib/docker/overlay2/5b3071409223caef42fcc90be6fbdd8c4f4096c61c95644a01d20ec030255484
1000K /var/lib/docker/overlay2/5c32847a5d6bde4e23eac945b53388195cb2933af385ccf8864835610bada0b5
393M /var/lib/docker/overlay2/63b0e0481ecfe59a56a16f9e8086517589a1a473377882162400fad302f4493b
32K /var/lib/docker/overlay2/6486a09f02d98348628ce68189723efeda0da2f65eef0cb6535ed0cd2ed5da1e
687M /var/lib/docker/overlay2/668d0c28b8805f6303ae5371fe5cfcc091879e24774c7e28e2f88b8bf88da76b
3.9M /var/lib/docker/overlay2/6a4f0fe693cc5450ac8c9616f37ac335351bc283389adededebc3b0d3ac44fef
1.3G /var/lib/docker/overlay2/6cfc74e6db715193b51554d58c5f6d0ac520ca875c7133700f4ecd0780adf4b0
100K /var/lib/docker/overlay2/6d1bb571b55d3aea4ad9bf756a9bf8b08f48d6d7e5a9d472786da62c311957b7
32K /var/lib/docker/overlay2/6e2a53857aa8dd64f6ae0628dfe708078420b1a351a993a4103c636692ef2399
24K /var/lib/docker/overlay2/70ed1b7d69e103e2efe6ea795865ae4c3ce7418104f50bc12f8aa470c876f7cd
22M /var/lib/docker/overlay2/712f6d11a266d4832557316a198fc74fbb61aa274ccc0e65be839ef88e67333f
1000K /var/lib/docker/overlay2/72fa91221fa8eba3cb20394348891edc5f16843d237aeaad7e3b24ed4b47bcc3
693M /var/lib/docker/overlay2/76432310e0174d0dd4205155aa61615cdc66e5ff1bf69b95079cc3c1f2108be2
60K /var/lib/docker/overlay2/770f2758c4de8836f6c79f70a3076d9bb98e9c98f141430120b22930fd591e33
100K /var/lib/docker/overlay2/783d4001eff1825c76e07b07e887ed350e0319ab2940bc12d2456c4ca94d0e35
4.8M /var/lib/docker/overlay2/7a5cb874aa0b1cb92ae829c9e6fad5bd69cefa10d3cd39710cfb38a6c40c77a2
274M /var/lib/docker/overlay2/7b112d80a7b9531808d3e9ada262fc44314edd0a93508ee39672111fe7c5171f
44K /var/lib/docker/overlay2/7db9428f26eebf9c23f1617d175d06ff51e4ca585295acd5f342d41f7afffc82
24K /var/lib/docker/overlay2/7f5596b7727ab820665a082913d039d4d691a775438b51fa5f10a69c4b4c6895
200K /var/lib/docker/overlay2/8303cda83bfc6508376296c2d1ad41dfe1481498d12c9795786a8c9f8f541eea
100K /var/lib/docker/overlay2/835a04cf9f38dd200a42f622730ce8ac43cc852efa3e57ff675bcd3c41c4c25d
32K /var/lib/docker/overlay2/84d61311f4f4ece6f850dfca00b13488c8f1f7a60407a987b76516c2dc652a59
100K /var/lib/docker/overlay2/870fc2469634eb80e4b0f805999f841b9ac5de1045bbc191a1c114510d80b67a
24K /var/lib/docker/overlay2/8867d1b19ea0039f7c53cf8dbe4cd4c0c927b9fd19f02db28d7fc2f71d48b094
183M /var/lib/docker/overlay2/895817070d4e8372b480eaf354d6acc66888132b2c4925437da961943094535b
32K /var/lib/docker/overlay2/8a1f980b884b7abdfadc5da390c4f5b005c9a6ea5a75f9c25402d05b4b9b0ca5
1000K /var/lib/docker/overlay2/8ac5d2e7d703ef65ee7c03f2d7f45cd9b666c8562e0ca0e7a88e4dc5b9c89716
66M /var/lib/docker/overlay2/8b75fe90a41775f87a9a9fd67f7dc6d3b90714e358065a1342ba1f0feddbeedf
23M /var/lib/docker/overlay2/8bdf5ff319a626789c6d68ac0875cb023a4f0abe565d0ff82bb123edc1279f70
918M /var/lib/docker/overlay2/9259bf2740a6c80c1682af047660a2ff3547a6122ab2405a7db1531de6999d37
36K /var/lib/docker/overlay2/933b9bbfa4e4eb62d620426743e9a0e4255cbcb20a058c77820464d6a0f3cbe9
24K /var/lib/docker/overlay2/958c95f31652dfb9c3610631c9cfbea773d98a7aee323c6ed3167b43a5d221a9
25M /var/lib/docker/overlay2/961b167fa97dbf5d026300df559742b43e53837209df43a30ca6aca268ebefae
40K /var/lib/docker/overlay2/961b167fa97dbf5d026300df559742b43e53837209df43a30ca6aca268ebefae-init
231M /var/lib/docker/overlay2/9973b1c5483cdd0463c704667e95744265a62418166f03954d4e1ff33a56610f
11M /var/lib/docker/overlay2/9b51e35fcf5c6b823956a0baa256d307cc4af36df0335185ca38ca62ad646b0f
32K /var/lib/docker/overlay2/9beaf9ad4d4b732b3aa94425fbbac7369078becbe75300fa7b905ea4470a9078
127M /var/lib/docker/overlay2/a1f313d062175e4618892d5a16fe0b1876f70e859f047a71b4246f2159f248a6
40K /var/lib/docker/overlay2/a2d823fb9fdebd4d63fbbf80f19e5aec8b771c241a9845fd5ff6aa54b858da83
387M /var/lib/docker/overlay2/a380f67c2b30bb0aa41bdc62ce39093ab81ac50b7a51cf1215c9a16efb382b00
100K /var/lib/docker/overlay2/af49e70808a28f64079f64edd232468f59fbbe3b62a5991125a7838d74de7425
100K /var/lib/docker/overlay2/affa1472d8010cc642ba7b770c60c456523ac0f3a04da7eef8d4edb824e55540
3.7M /var/lib/docker/overlay2/b319b097f4c57111825ede70f003298bfd4498f3d09bc51d6aa2a70508a7b5f6
76M /var/lib/docker/overlay2/b37a8c8929a2be5a056d7cb512af883f7e3f6770483190e70100c6f35f35b431
192K /var/lib/docker/overlay2/b489623e0075da0a1367a85f88c56d35c57eb60a27d194cfabf4190c8351f348
64K /var/lib/docker/overlay2/b5f35856f291fb612e4626d7ea8f7c24d2fdee3aae5ef86c19cdf068409c8a10
40K /var/lib/docker/overlay2/b6dd8fd002bf6742f301ad63c72e0a6f57b79358e5c6be91a222db5033ad09e8
95M /var/lib/docker/overlay2/b7144636d58f03ed3f5c972fdc177b91333aeb889876ce2ec5ed2f2da855d63c
24K /var/lib/docker/overlay2/b7cc7a786d3994dde436ffe8be2377ade6e8c98f9d814144d3b5d996bcf4d518
384K /var/lib/docker/overlay2/c1287d0b1a54971df25563c14dee968554253fd3b6e2132a19177a91d5c07757
69M /var/lib/docker/overlay2/c291063a8e15ca97af73a7b2ef554bb6e100fe671455fa92a1bdfd430b433a92
704M /var/lib/docker/overlay2/c40e4c710f901d34e8f65ae6982649c03a5846728a307b49c3700e0516d83ec5
20K /var/lib/docker/overlay2/c691aed8a85e3f5484adc70f01d03efa02886d3371f5210d9729ad679f95e6cd
273M /var/lib/docker/overlay2/c81473e6c2069eb2fc6097424f4323a1df66db35d8586f3f690cdfa0513d1002
14M /var/lib/docker/overlay2/caecd865707991e6894ba938189951cba86b3cd098781a517e30278fd7c10d75
32K /var/lib/docker/overlay2/cb54b6858240facf4b8334a8f61e70522efa445e8033cfacf496b3c70c83d070
78M /var/lib/docker/overlay2/cf33bf876cda7f8f93b6dd5fdb95e329c54e088904d8d4f61f7ffe7ad1e7bb80
36M /var/lib/docker/overlay2/d00ce78d7278b7db1d42ef93c73669faace42be0ff2a2e1019299fbba0b394d8
44K /var/lib/docker/overlay2/d33086aa4d3f24131afb86c29a43eeacd53149905c503dc9dc9db8a47a981d5d
111M /var/lib/docker/overlay2/d58a497cdfed52e0d5303842fc90055c467376507a458201b550d319dfa1d8a1
24K /var/lib/docker/overlay2/d9cd31691f77d335499d1cf34adb24d70401a92e16cda7189748c13d28b7a110
19M /var/lib/docker/overlay2/db67048f32e2430b1bd82343a1d587425b03601bf30251e498521a8ad64d73cc
7.9M /var/lib/docker/overlay2/dbab3e9dbc9281e1a5e8f116ad9b641b5d2e1fc69b6fc068179c00e9c40cd802
132M /var/lib/docker/overlay2/dcf46bed6a5fc76b4fb20a0f628a15dc74aa06f658a7eb2627e2745c20db0d2d
24K /var/lib/docker/overlay2/de75aa942cae1e78f527f474264470c33befc25cce242ea73884b547cc31a3e0
69M /var/lib/docker/overlay2/e00462b54fe36fb927284c14beb3c5b66c375d25bade2d15c33443283066673b
32K /var/lib/docker/overlay2/e005f19cd1297931d4a65a510520903c7170221e969772144d5c0387c0216369
1000K /var/lib/docker/overlay2/e0c2950e4e1cd21d1d32abc0f42586ecb56983c77c9d3d80015f4be33914a410
8.2M /var/lib/docker/overlay2/e28182a6958e301b263d6f0dc7f8ce3852d761ca318fa0a68b7a6eb98088569f
69M /var/lib/docker/overlay2/e7e20e4e795eba34020dc259cd2c25cea246060571b46370dabb88b361cf2ab3
384K /var/lib/docker/overlay2/e8dcee3b4861d55b082de23d3bc1140a9cf84e5faad26e339bc4ced688ee497e
385M /var/lib/docker/overlay2/e8f2d9033658844b36648a66054eb04f417588840a70831be03c52f14288701f
8.2M /var/lib/docker/overlay2/e937f5c3eee6f1aaa5f66e8e760063aae41113e58f5bd82d17ea3423b6773c76
36K /var/lib/docker/overlay2/e93a98143aaf22bf3d1e78f4da7233a1a07022eef2bc1ec9657e47e78e9a9a99
36K /var/lib/docker/overlay2/e94361352f1fcb4512dfd3fb4b6468d73122e085fd90edb68214a46c85e7a8d9
44K /var/lib/docker/overlay2/ec5db8d9de640697692ed58c189142a5e0a38e09df97aca6e759c0fbc5446cc5
96K /var/lib/docker/overlay2/eda112df74e31665fbcc8eac0f1f55a9b92968239f5165ac363ea3bff51e43f9
24K /var/lib/docker/overlay2/edbd675e9df32e9c32a7cbd4d9dd430a84176b1f6ef9625fecb159f94cf7f9e3
388M /var/lib/docker/overlay2/ee068e8534ddacfd3503ba5c46c05c4df909102fe16d3b25758d70ba04d5853d
24K /var/lib/docker/overlay2/ee8cc85609a9d93f1469806dce6696b38c050ae6da8a470746bb9af73c316704
36K /var/lib/docker/overlay2/ef3d3d26c39de96a8d8206504fe6f8bda45d88d5224fc62913b54fd919951723
24K /var/lib/docker/overlay2/f1380b8c95ebc5a6288f3e8a1fc9c9a63138a5231bd461c25fb4579c64e61865
13M /var/lib/docker/overlay2/f21db7cabd5d258111677f0f03b1033dda5013c253f9a1c2d89eca73c0c104a7
24K /var/lib/docker/overlay2/f74eeeef60906517eaf0225721eaf8ef06c7b20108727cbc2323fda6598a3845
32K /var/lib/docker/overlay2/f93081e57b35724c0169ecb498abe9518b4d6f10cf7acba5cda917f3cc936560
22M /var/lib/docker/overlay2/fa2ed52f17afc4cc4a4196a2a42bf3907392b0d0d0707fdc81e6fc240349dc10
1000K /var/lib/docker/overlay2/fe667f08aa7621816fe2e252638e7a9a90ca4de10ba442e86bbcbe402ff727d3
894M /var/lib/docker/overlay2/fea72e406c972e5812be570f4a94173f5cb6f4fb1c41e72957d8e595ef44f17e
552K /var/lib/docker/overlay2/l
15G total
I would think the docker only needs the overlays in the docker ps -a listing:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ec70162097b0 nginx:stable-alpine "nginx -g 'daemon ofâ¦" 2 hours ago Up 34 minutes 127.0.0.1:8080->80/tcp egroupware-nginx
bdf0791df830 containrrr/watchtower "/watchtower --schedâ¦" 2 hours ago Up 34 minutes 8080/tcp egroupware-watchtower
4f808e74bae4 egroupware/egroupware:latest "/entrypoint.sh php-â¦" 2 hours ago Up 34 minutes 9000/tcp egroupware
I wonder why so many overlays have been created over time and I hope I do not need all of them. May I purge the majority of these files? What is the best procedure for deleting them? May I just delete them all and then use a docker-compose up -d in the /etc/egroupware-docker directory?
egroupware-docker (19.1.20200605) hardy; urgency=low
5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:18:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Docker version 19.03.6, build 369ce74a3c
no rocket, no collabra