How to make my docker file visible (public)?

  • Posted September 27, 2020
  • Docker

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?



Submit an 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:

Hope that this helps! Regards, Bobby