If you go over your Container Registry quota, will that affect deployments?

I have an automated build set up using a combination of a DigitalOcean Droplet, DigitalOcean Container Registry, Docker Engine, Docker Compose version 2, and GitHub Actions.

For some reason, after deploying the application it broke because a PHP dependency isn’t available in the PHP container. Oddly, I can deploy the same application to the Docker daemon on my development machine, using the same images and it works because the dependency is there.

Running docker compose images against the local and remote Docker daemons show that both are using the same, and correct, image tag for the PHP container.

Additionally, running docker image inspect with the id of the PHP image used by the container shows the correct image is being pulled from the repository in the DigitalOcean Container Registry in both the local and remote deployments.

Yet, somehow, the remote version of the app is missing a dependency, despite it being listed in composer.json if I exec into the container, and it has development dependencies, which the local deployment doesn’t.

To attempt to debug the problem, I’ve pared back the deployment configuration script, and refined the Dockerfiles and Docker Compose configuration files. These changes had no effect.

The thing that seems to have solved the issue is removing sufficient tags in the DigitalOcean Container Registry repository, such that it didn’t exceed the quota. It’s currently at around 70% of the quota.

After removing the excess images and going back down under quota, the subsequent deployment succeeded and the application works.

Given that this change resolved the situation, is there some undocumented limitation or bug in the container registry if the storage quota is exceeded?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
June 27, 2022

Hi there,

What plan are you using? Note that with the Starter plan extra storage is not available.

For the Basic and Professional plans, the extra storage is charged at the end of the day and is prorated based on the number of days your storage exceeds the quota in the given month. For more information on the pricing you can check the documentation here:

Hope that this helps! Let me know if you have any questions.



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.