Does anyone know why in my case this docker only works if using root privileges e.g if both PUID & PGID are set to 0? If I set my user (1026 and 100) then docker keeps restarting in an endless loop.
Docker runs on Synology NAS. This is excerpt from the log file when I set PUID to 1026:
2019-10-14 10:45:18,901 WARN received SIGTERM indicating exit request
2019-10-14 10:45:18,901 DEBG killing watchdog-script (pid 150) with signal SIGTERM
2019-10-14 10:45:18,901 INFO waiting for start-script, watchdog-script to die
2019-10-14 10:45:19,904 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 139908803456720 for <Subprocess at 139908803414864 with name watchdog-script in state STOPPING> (stdout)>
2019-10-14 10:45:19,904 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 139908802859344 for <Subprocess at 139908803414864 with name watchdog-script in state STOPPING> (stderr)>
2019-10-14 10:45:19,904 INFO stopped: watchdog-script (terminated by SIGTERM)
2019-10-14 10:45:19,905 DEBG received SIGCHLD indicating a child quit
2019-10-14 10:45:19,906 DEBG killing start-script (pid 149) with signal SIGTERM
2019-10-14 10:45:19,907 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 139908803414992 for <Subprocess at 139908803313488 with name start-script in state STOPPING> (stdout)>
2019-10-14 10:45:19,907 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 139908803456784 for <Subprocess at 139908803313488 with name start-script in state STOPPING> (stderr)>
2019-10-14 10:45:19,907 INFO stopped: start-script (terminated by SIGTERM)
2019-10-14 10:45:19,907 DEBG received SIGCHLD indicating a child quit
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/
After the first crash, the last bit with logo is repeating every time docker restarts e.g:
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/
2019-10-14 10:46:46.583010 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
2019-10-14 10:46:46.648330 [info] PUID defined as '1026'
Cheers.