Investigate: Download counter for container images
<!-- The first four sections: "Problem to solve", "Intended users", "User experience goal", and "Proposal", are strongly recommended, while the rest of the sections can be filled out during the problem validation or breakdown phase. However, keep in mind that providing complete and relevant information early helps our product team validate the problem and start working on a solution. --> ### Problem to solve Currently, there is no way to see how much use a container gets. Big Brother Dockerhub has an API call to show container pulls, it would be great for gitlab to also provide this. ### Intended users Everyone that provides a container image. * [Devon (DevOps Engineer)](https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/#devon-devops-engineer) * [Priyanka (Platform Engineer)](https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/#priyanka-platform-engineer) ### User experience goal The user should be able to use the API with GitLab to display the usage of his docker container. ### Proposal Provide the pull count in one of the API calls about container statistics ### Further details See dockerhubs implementation at: https://hub.docker.com/v2/repositories/portainer/portainer/ ### Permissions and Security Pull count can be public-readonly ### What does success look like, and how can we measure that? Have a pull count stat in a publicly available API call ### Links / references See any image on Dockerhub :)
issue