Examples

In our first example we obtain 10 repositories and the images associated to these:

You can filter these results to get the repository/image you want to analyze. In the following examples we use the image with ID 1140801 because has all the information needed to explain the characteristics of the dataset.

We can obtain all the packages of this image and their version:

Expanding this query we can obtain the vulnerabilities associated with these packages:

Now we have all the information needed to analyze the vulnerabilities of a Docker Hub image or repository! We do not even need to know information about the images or repositories, we can directly search for critical vulnerabilities and make a list of the packages with more versions having some:

 

But our dataset is not only useful when we are searching for the vulnerabilities of repositories and images. We can analyze the information stored in Docker Hub in several ways, as an example the following query shows a ranking of the most commonly used operating systems:

And this one returns the top 10 most used packages:

Also, as a layer can be used in multiple images, we may be interested in knowing which ones are the most popular:

These are just some ways how our dataset can be used. We recommend executing these examples in the query section varying the parameters to get used to the endpoint and start creating your own queries.