Check the size of docker images present in Server

o check the size of Docker images stored on your server, you can use the docker images command. Here’s how:

  1. Open your terminal on the server.
  2. Run the following command:
docker images

REPOSITORY          TAG         IMAGE ID       CREATED          SIZE
nginx               latest      abc12345       2 days ago       133MB
ubuntu              20.04       def67890       3 weeks ago      29MB
my-app              v1.0        ghi90123       1 month ago      250MB

For calculate the total amount of size consumed:

docker system df

TYPE            TOTAL      ACTIVE    SIZE      RECLAIMABLE
Images          5          2         600MB     400MB
Containers      4          1         150MB     100MB
Local Volumes   3          3         300MB     0B

This entry was posted in DevOps on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

Leave a Reply