Page 1 of 2

Docker config gone after update

Posted: 04 Sep 2022, 22:44
by bconnor218
I applied the recent Docker Manager app update yesterday and when I go into the app it's like it's a fully clean install. It sounds like the primary data directory changed? What's the easiest way for me to get back up and running?

I'm pretty new to using Docker so I'm not sure if there is a way to just copy over the config files or from where to where? Or if I can just re-import the images I had already configured. Appreciate any help you all may have!

Re: Docker config gone after update

Posted: 05 Sep 2022, 10:28
by TMSupport
Please disable and enable Docker again in the app center.

Re: Docker config gone after update

Posted: 05 Sep 2022, 22:49
by bconnor218
That was actually the first thing I tried. I've also found the original install location and tried copy/replacing the new files with those and that doesn't seem to have worked either. A full system restart also did not resolve the issue.

Re: Docker config gone after update

Posted: 05 Sep 2022, 23:56
by Gandalf1369
@bconnor218

I don't have a solution for you but I can say that the exact same thing happened to my son. He has a F2-220 running TOS 5 and he updated his Docker Manager when the App Store told him there was an update. He also lost all of his containers and images and had to re-build everything from scratch.

Re: Docker config gone after update

Posted: 06 Sep 2022, 09:40
by TMSupport
After updating the app, do you see a pop-up window of "Configuration File Migration" when you open the app?

Re: Docker config gone after update

Posted: 06 Sep 2022, 09:53
by TMSupport
You can restore the previous container by doing the following:
1. Disable the docker application.
2. Go to the file manager and copy all the folders in /homes/docker/DockerData to the new shared folder /DockerData.
3. Enable the docker application.

Re: Docker config gone after update

Posted: 04 Nov 2022, 01:44
by XFNeo
{L_BUTTON_AT}TMSupport
I have the same problem. Sometimes after reboot docker images, networks, containers are gone. Like docker just installed. I have find out that on such boot some mounts are dissapired. The boot without docker settings\entities:

Code: Select all

#mount
/dev/md9 on / type ext4 (rw,noatime,nodiratime,commit=60,data=writeback)
devtmpfs on /dev type devtmpfs (rw,relatime,size=1920556k,nr_inodes=480139,mode=755)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=666)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /opt/var type tmpfs (rw,relatime)
/dev/mapper/vg0-lv0 on /Volume1 type btrfs (rw,relatime,nodatasum,nodatacow,nobarrier,space_cache=v2,autodefrag,subvolid=5,subvol=/)
/dev/mapper/vg0-lv0 on /home type btrfs (rw,relatime,nodatasum,nodatacow,nobarrier,space_cache=v2,autodefrag,subvolid=259,subvol=/User)
cgroup on /sys/fs/cgroup type tmpfs (rw,relatime,mode=755)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu type cgroup (rw,relatime,cpu)
cgroup on /sys/fs/cgroup/cpuacct type cgroup (rw,relatime,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,relatime,net_cls)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_prio type cgroup (rw,relatime,net_prio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,relatime,pids)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,relatime,rdma)
On a boot with docker settings\entities, additional mounts are present:

Code: Select all

/dev/mapper/vg0-lv0 on /Volume1/DockerData/btrfs type btrfs (rw,relatime,nodatasum,nodatacow,nobarrier,space_cache=v2,autodefrag,subvolid=2299,subvol=/DockerData)
shm on /Volume1/DockerData/containers/e2ebf0a6ac4ebc180e66c7242bdb7a6d1f29f8eb7dfc66798eab9a03d35a687a/mounts/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
shm on /Volume1/DockerData/containers/cfd44d7f6334b5f5ddb43c38713d8e913873afa316f088ec24693c13552dbc96/mounts/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
nsfs on /run/docker/netns/e31ded2509f4 type nsfs (rw)
nsfs on /run/docker/netns/5f2397a94415 type nsfs (rw)
shm on /Volume1/DockerData/containers/4a5f3f48339acf40c27e148a7875b92f8674066056ee40100abbac23d29d207b/mounts/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
nsfs on /run/docker/netns/b6f2d034e81e type nsfs (rw)

Re: Docker config gone after update

Posted: 04 Nov 2022, 02:29
by XFNeo
If I reboot my TNAS it is loading without this mount looks like always.
BUT if i do service docker restart and reboot TNAS on next boot mounts are present.

Re: Docker config gone after update

Posted: 04 Nov 2022, 17:14
by TMSupport
{L_BUTTON_AT}XFNeo

This issue is being fixed.

Re: Docker config gone after update

Posted: 16 Dec 2022, 17:15
by XFNeo
{L_BUTTON_AT}XFNeo
TMSupport wrote: 04 Nov 2022, 17:14 This issue is being fixed.
Hi! When it will be fixed?