Report this

What is the reason for this report?

How to make my docker file visible (public)?

Posted on September 27, 2020

Dear all,

I will use a freelancer to change my docker file. How can I make my docker file visible, public, step by step after accessing root terminal?

Thanks.



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!

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.

Hi there @ysfslmkaratas,

If you don’t want to give direct access to your server, what I could suggest in your case is to create a private GitHub repository and upload the Dockerfile there.

Then give the freelancer access to that repository so he could make the necessary changes. That way the freelancer will not have to access your server and will still be able to make the changes.

If you are OK with giving the freelancer access to your server, I could suggest asking them for their public SSH key and uploading the SSH key to your Droplet. You can follow the steps here on how to do that:

https://www.digitalocean.com/docs/droplets/how-to/add-ssh-keys/to-existing-droplet/

Hope that this helps! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.