Hello,
I ran the docker compose build
command several times and when I check the images, I see a number of images:
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
m-site latest 4a57fb36850c 5 minutes ago 2.4GB
php fpm-alpine3.20 cb53db6e58bd About an hour ago 906MB
site-backend latest fda40e53dd4a 24 hours ago 906MB
laravel-backend latest 0f21561f6174 24 hours ago 915MB
<none> <none> dfca7af469e9 24 hours ago 915MB
<none> <none> 5bbc4edb3d37 24 hours ago 915MB
<none> <none> 40172e27f58a 24 hours ago 915MB
<none> <none> f9257d8e470d 24 hours ago 915MB
<none> <none> b2d485ae8b06 25 hours ago 915MB
<none> <none> f74cd7175f13 25 hours ago 906MB
<none> <none> 55f47c9eb0bb 25 hours ago 906MB
<none> <none> 208d6febdf51 41 hours ago 905MB
<none> <none> a3f379d0e44e 41 hours ago 758MB
<none> <none> b18fec781de9 43 hours ago 758MB
<none> <none> 9623e61309c5 43 hours ago 758MB
<none> <none> a9d16ecb7ea9 47 hours ago 758MB
<none> <none> 4c81ae6e3db7 47 hours ago 749MB
<none> <none> 4965ac6769ee 47 hours ago 746MB
php 8.3 b3bb0b693946 2 days ago 940MB
<none> <none> 8281f2262260 2 days ago 937MB
portal-site latest c95676900c0a 2 days ago 2.4GB
php 8.3.20RC1-zts-alpine3.21 e489387959df 6 days ago 123MB
node 23-alpine 017616c34fba 2 weeks ago 162MB
php 8.3-fpm b0746539b4e2 2 weeks ago 497MB
mariadb latest a914eff5d2eb 6 weeks ago 336MB
nginx alpine 1ff4bb4faebc 8 weeks ago 47.9MB
nginx latest 53a18edff809 8 weeks ago 192MB
phpmyadmin latest 052506f2de4d 2 months ago 570MB
node <none> 3d4b037e6712 10 months ago 1.11GB
I have two questions:
1- Some of these images have <none>
in front of them. How do I know which of these images I can delete?
2- How do I name them so I know which container they are for?
Thank you.