How do i uload my docker image to digital ocean

Is there a guide that explain how i can upload my docker image to digital ocean for deployment?

I tried to create a create a docker iamge file with “docker save iamge_name > image_nameg.img” and upload that to digital ocean’s images section but i get and error saying it doesn support this “compression” type…??? Does digital ocean support docker? If so where do i start with deploying docker images to digital ocean?

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


In order to get started with the DigitalOcean Docker Registry, you can follow the steps here.


  • Make sure that you have Docker installed:

  • Install the doctl command-line tool:

First create a Docker Registry:

  • Visit the registry page under Images.
  • Enter a name for your registry. This name must be globally unique.
  • You will be advised if you need to enable a Spaces subscription first, which you can do by visiting the Spaces area of the control panel.

You could also create a registry via your command line with the following command:

  1. doctl registry create your-registry-name

With that, your registry will be ready and you will be able to push new Docker images.

Push to Your DigitalOcean Registry

In order to push an image, you need to first login to your DigitalOcean Docker Registry:

  1. doctl registry login

After that tag your image with the fully qualified destination path:

  1. docker tag your-image-name

Finally by using the docker push command to upload your image:

  1. docker push


For more information on how to use the DigitalOcean Docker Registry, make sure to check the documentation here:

Hope that this helps! Regards, Bobby