由于换设备了所以只能先用docker版顶着,用着的话发现/mnt/sda1目录下一堆文件夹没有访问权限,然后给容器加了PGID、PUID=0试试,结果报错如下:
stderr: addgroup: gid '0' in use
stderr: deluser: unknown user nginx
stderr: deluser: unknown user nginx
stderr: deluser: unknown user nginx
stderr: deluser: unknown user nginx
stderr: deluser: unknown user nginx
stderr: deluser: unknown user nginx
stderr: deluser: unknown user nginx
用kodbox开了一个目录之后用ssh ls -l看了下,发现目录所有是100 network。想问问有没有哥们知道咋给他弄成root权限跑。