By mattreister
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?
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!
Hello,
In order to get started with the DigitalOcean Docker Registry, you can follow the steps here.
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04
doctl command-line tool:https://www.digitalocean.com/docs/apis-clis/doctl/how-to/install/
You could also create a registry via your command line with the following command:
- doctl registry create your-registry-name
With that, your registry will be ready and you will be able to push new Docker images.
In order to push an image, you need to first login to your DigitalOcean Docker Registry:
- doctl registry login
After that tag your image with the fully qualified destination path:
- docker tag your-image-name registry.digitalocean.com/your-registry-name/your-image-name
Finally by using the docker push command to upload your image:
- docker push registry.digitalocean.com/your-registry-name/your-image-name
For more information on how to use the DigitalOcean Docker Registry, make sure to check the documentation here:
https://www.digitalocean.com/docs/images/container-registry/quickstart/
Hope that this helps! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.