Page 1 of 2
Docker daemon not starting
Posted: 27 Nov 2020, 00:31
by pabs
Hi
The docker daemon is not starting automatically when powering on the NAS. it was before I updated to 4.2.06.
I tried to re-install the app from the TOS desktop but I still have the same issue.
What can I do to make it start when the NAS boots up ?
Thanks
Re: Docker daemon not starting
Posted: 27 Nov 2020, 22:30
by TMS
Please advise your TNAS model number and cutrrent TOS version,we will verify your problem, you can also send an email to contact the technical support team to let our engineers find the cause remotely.
Re: Docker daemon not starting
Posted: 30 Nov 2020, 21:45
by pabs
My NAS is a F2-210, version of TOS is 4.2.06-2011031755
Docker version is 17.05.4.
Also, when I click on the docker app shortcut in the desktop of TOS, then the daemon is started.
Re: Docker daemon not starting
Posted: 02 Dec 2020, 03:00
by yerc1
Yea, I too find communication between TOS and Docker inconsistent. I have some containers obeying the autostart option within the Docker app but also one container disregarding that option. I had to
manually run that one container with the --restart option for it to autostart.
Anyways, for your Docker to start automatically again you need to SSH as root and try the command:
Hope it works.
Re: Docker daemon not starting
Posted: 02 Dec 2020, 03:49
by yerc1
yerc1 wrote: ↑02 Dec 2020, 03:00
Anyways, for your Docker to start automatically again you need to SSH as root and try the command:
Hope it works.
I would have edited the above post but the editing window is over.
Sorry the command won't work. I assumed as TOS has systemd that it also uses systemctl, which I now found it doesn't.
Re: Docker daemon not starting
Posted: 04 Dec 2020, 21:52
by pabs
@TM support, do you guys have a solution to this issue ?
Thanks
Re: Docker daemon not starting
Posted: 04 Dec 2020, 22:17
by TMS
There is no solution for the time being, we are already investigating the problem.
Re: Docker daemon not starting
Posted: 04 Dec 2020, 22:25
by pabs
In /var/log/messages I have:
Code: Select all
Dec 4 09:09:28 TNAS user.notice procd: /usr/local/bin/dockerd not present or not executable
But :
Code: Select all
root@nas:~# ll /usr/local/bin/dockerd
lrwxrwxrwx 1 root root 19 Nov 26 08:50 /usr/local/bin/dockerd -> dockerd-17.06.0-dev
root@nas:~# ll /usr/local/bin/dockerd-17.06.0-dev
-rwsr-xr-x 1 root root 33M Nov 26 08:50 /usr/local/bin/dockerd-17.06.0-dev
root@nas:~#
Any idea ?
Re: Docker daemon not starting
Posted: 09 Jan 2021, 23:02
by pabs
Any update on that issue ? after updating to TOS 4.2.07 and updating docker, I still have the same issue.
Re: Docker daemon not starting
Posted: 30 Jan 2021, 20:11
by PapaBeer
I've updatet my NAS (F2-210) to 4.2.08 - same Problem. Docker Service won't start, many Problems:
Code: Select all
ERROR: ld.so: object '/etc/libsystem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Starting Docker: docker
0
Code: Select all
docker pull nextcloud
ERROR: ld.so: object '/etc/libsystem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Using default tag: latest
Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Any solution here?