I can’t download the last versions from my Synology Docker’s apps. Last version showned is 0.20.20… and i can see the next ones. I tried to install the Synology Docker’s apps in another NAS and it seems is doing the same.
The underlying issue is something to do with the docker API used by synology being out of date I believe, (although I cannot remember where I read that!) so until synology update the docker implementation in DSM we are stuck.
Aww sounds like you didn’t mount your configuration directory when running home assistant. This means each time you restarted the Home Assistant container, a new fresh copy of the config would be loaded.
Synology docker just received an update that fixes this issue…
Version: 1.11.2-0270
(2017/01/19)
Fixed an issue regarding memory usage display.
Fixed an issue where some images on Docker Hub cannot be downloaded.
Minor bug fixes.
Phil, have watched your YouTube videos on this - excellent! I have DSM6 and can’t get the docker run command to work. Can you please give me step-by-step on how to switch to root? I’ve logged in as admin ok, just not sure what to do next.
wow fast reply, ok thanks, I’ll try that tonight. I’ve seen other discussions on this forum where they prefix all docker commands with sudo - does that do the same thing?
So in summary, I’m on a Synology DS1513+ with DSM 6.0.2-8451 Update 9 software.
If I login as ssh [email protected] and enter docker commands as per your blog I get the error message docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host?. See 'docker run --help'.
I tried su root but this doesn’t work, I get “Permission denied” after I enter the password, and trying to login as ssh [email protected] also doesn’t work, permission denied, as you said in your blog post.
But prefixing the docker command with sudo works great!!
So ssh into the NAS using ssh [email protected] and enter sudo docker run --name home-assistant --restart=always --net=host -itd -v /volume1/Shared/docker/homeassistant/config:/config homeassistant/home-assistant
I just have to work out why I got this error, I think I just haven’t created the right folder
docker: Error response from daemon: stat /volume1/Shared/docker/homeassistant/config: no such file or directory.
If the Docker command still doesn’t work, then it could be a permissions issue. When using sudo you are effectivly running the command as another user, who may not have permission to view that folder. You can then do the following to make sure all users have access to the folder, and then re-run your docker command.
chmod -R 0777 /volume1/Shared/docker
Thanks for reporting back, I’ll update my blog post with your findings so others on DSM6 won’t have to hunt for the answer!