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.

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.

×
1 answer

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

Submit an Answer