How to upload docker image with .net core app to Digitalocean?

May 28, 2019 1k views
DigitalOcean Ubuntu 16.04

Hello everyone. Could you help me with this service. I try to set up simple ci/cd service. I have git repo with asp .net core application. Than it automaticaly pushes it to travis. How can i upload my entire repo in docker container to Digitalocean from travis? I just can’t inderstand how to upload docker image on Digital. Thank you.

1 Answer


What I could suggest is just pushing your Docker images to Docker hub for example. And then you could just pull the images on your DigitalOcean droplet.

To push an image to Docker hub you could follow the steps listed on the Docker website:

Once your images have been pushed to the Docker hub, you could pull them as a normal image.

Of course if you want to automate the deployment of the images, you could use something like Ansible for example.

Hope that this helps!

Have another answer? Share your knowledge.

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