Question

How to make my docker file visible (public)?

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.


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.

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