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

Posted May 28, 2019 2.7k views
DigitalOceanUbuntu 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.

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.

Submit an Answer
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!