The lowest boundary of a Docker image can be very small i.e. under 1 MB (busybox) or even zero bytes (scratch).
Now for research purporses, I need to reference the biggest Docker image on the Docker Hub.
How to find it?
DevOps Stack Exchange is a question and answer site for software engineers working on automated testing, continuous delivery, service integration and monitoring, and building SDLC infrastructure. It only takes a minute to sign up.
Sign up to join this communityIf you're looking for a master list of all images and sizes, kind of a 'statistics' pages, Docker Hub doesn't have that. You'll need to use their HTTP API to:
You'll specifically need to pull the newest Image Manifest Version 2, Schema 2
, which apparently not all repos support yet. This newer manifest has the image sizes in it: https://docs.docker.com/registry/spec/manifest-v2-2/
All in all, this is much faster than trying to actually download all the images from Docker Hub, but it will still take quite a long time and a lot of processing. The database for storing this all might get rather large and difficult to process, so I'm not sure how much you really want to pursue this route for a simple research project. That's up to you.
You may want to take @Vish's advice and simply go for obvious large images such as the Microsoft or Java ones.
docker search
won't help, because it does not list image sizes in its output, and its--filter
option does not allow filtering by size. The only idea I have therefore is around actually downloading each image and check its size. You might start withmicrosoft/
images to start off with as they are quite huge usually :) (not sure if this is an answer so added it as a comment)