qmacro / qmacro.github.io

MIT License
3 stars 4 forks source link

Remote access to Docker on my Synology NAS | DJ Adams #49

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Remote access to Docker on my Synology NAS | DJ Adams

Remote access to Docker on my Synology NAS 12 Jun 2021 | 7 min read Here's what I did to enable remote access to the Docker install on my...

https://qmacro.org/blog/posts/2021/06/12/remote-access-to-docker-on-my-synology-nas/

Luby1917 commented 1 year ago

Saved my day! After the DSM7 update, it broke, now I can go to bed, the remote context is now working. Thank you for sharing

simistef commented 1 year ago

when i run “sudo chown root:docker” i get the error “chown: missing operand after root:docker”. I am running the latest DSM 7.1

qmacro commented 1 year ago

@simistef the complete command is sudo chown root:docker /var/run/docker.sock (you might have missed the operand in the post, as it was wrapped onto the next line).

lrjbrual commented 1 year ago

hi, do you know how to solve this issue:

Server: ERROR: error during connect: Get "http://docker.example.com/v1.24/info": command [ssh -l ryanjeff -- nashome docker system dial-stdio] has exited with exit status 255, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=Host key verification failed.

I cannot find any solution. thanks in advance

mustafaalbassam commented 6 months ago

Hi, I am a newbie, :) I followed your steps and everything worked until I reached the steps that says to uncomment "PermitUserEnvironment in /etc/ssh/sshd_config" and set the value to yes. opened the sshd_config file by running "vi sshd_config" to adit it using vi editor, I found out that the file was empty; so I added the "PermitUserEnvironment yes" to it, but it won't let me save and exit. It gives me this error: " "sshd_config"
"sshd_config" E212: Can't open file for writing Press ENTER or type command to continue".

any help please

akahn commented 3 months ago

This was hugely helpful, thank you for writing this up.