✔ root@chuwi 192.168.178.173 11:33 /var/lib/docker/bindmounts/immich/postgres $ docker exec -it immich_postgres ls -l /etc/postgresql/postgresql.conf ls: cannot access '/etc/postgresql/postgresql.conf': No such file or directory ✔ root@chuwi 192.168.178.173 11:36 /var/lib/docker/bindmounts/immich/postgres $ docker exec -it immich_postgres cat /etc/postgresql/postgresql.conf cat: /etc/postgresql/postgresql.conf: No such file or directory ✔ root@chuwi 192.168.178.173 11:36 /var/lib/docker/bindmounts/immich/postgres $ docker exec -it immich_postgres docker: 'docker exec' requires at least 2 arguments Usage: docker exec [OPTIONS] CONTAINER COMMAND [ARG...] See 'docker exec --help' for more information ✔ root@chuwi 192.168.178.173 11:36 /var/lib/docker/bindmounts/immich/postgres $ docker exec -it immich_postgres /bin/bash root@7781457efea2:/# ls -lah /etc/postgresql/ total 0 drwxrwxr-x+ 2 postgres postgres 6 Nov 8 2023 . drwxrwxr-x+ 1 root root 66 May 26 09:25 .. root@7781457efea2:/# ls -lah /etc/ total 232K drwxrwxr-x+ 1 root root 66 May 26 09:25 . drwxr-xr-x+ 1 root root 17 May 26 09:25 .. -rw-rwxr--+ 1 root root 3.0K May 25 2023 adduser.conf drwxrwxr-x+ 1 root root 8.0K Jan 31 2024 alternatives drwxrwxr-x+ 1 root root 46 Jan 30 2024 apt -rw-rwxr--+ 1 root root 2.0K Apr 23 2023 bash.bashrc -rw-rwxr--+ 1 root root 367 Sep 22 2022 bindresvport.blacklist drwxrwxr-x+ 2 root root 25 Jan 30 2024 cron.d drwxrwxr-x+ 2 root root 36 Jan 30 2024 cron.daily -rw-rwxr--+ 1 root root 2.9K Jan 8 2023 debconf.conf -rw-rwxr--+ 1 root root 5 Dec 9 2023 debian_version drwxrwxr-x+ 1 root root 20 Jan 31 2024 default -rw-rwxr--+ 1 root root 1.7K May 25 2023 deluser.conf drwxrwxr-x+ 1 root root 24 Jan 30 2024 dpkg -rw-rwxr--+ 1 root root 685 Mar 5 2023 e2scrub.conf -rw-rwxr--+ 1 root root 0 Jan 30 2024 environment -rw-rwxr--+ 1 root root 1.9K Oct 17 2022 ethertypes -rw-rwxr--+ 1 root root 37 Jan 30 2024 fstab -rw-rwxr--+ 1 root root 2.6K Jul 29 2022 gai.conf -rw-rwxr--+ 1 root root 474 Jan 31 2024 group -rw-rwxr--+ 1 root root 466 Jan 31 2024 group- -rw-rwx---+ 1 root shadow 398 Jan 31 2024 gshadow -rw-rwx---+ 1 root shadow 390 Jan 31 2024 gshadow- drwxrwxr-x+ 3 root root 20 Jan 31 2024 gss -rw-rwxr--+ 1 root root 9 Aug 7 2006 host.conf -rw-r-----+ 1 root root 13 May 26 09:25 hostname -rw-r-----+ 1 root root 172 May 26 09:25 hosts drwxrwxr-x+ 1 root root 24 Jan 31 2024 init.d -rw-rwxr--+ 1 root root 1.9K Jan 3 2023 inputrc -rw-rwxr--+ 1 root root 27 Dec 9 2023 issue -rw-rwxr--+ 1 root root 20 Dec 9 2023 issue.net drwxrwxr-x+ 3 root root 24 May 25 2023 kernel -rw-rwxr--+ 1 root root 6.8K Jan 31 2024 ld.so.cache -rw-rwxr--+ 1 root root 34 Sep 22 2022 ld.so.conf drwxrwxr-x+ 2 root root 52 Jan 30 2024 ld.so.conf.d -rw-rwxr--+ 1 root root 191 Feb 9 2023 libaudit.conf -rw-rwxr--+ 1 root root 3.0K Jan 23 2024 locale.alias -rw-rwxr--+ 1 root root 9.3K Jan 31 2024 locale.gen lrwxrwxrwx 1 root root 27 Jan 30 2024 localtime -> /usr/share/zoneinfo/Etc/UTC drwxrwxr-x+ 3 root root 29 Jan 31 2024 logcheck -rw-rwxr--+ 1 root root 13K Nov 11 2022 login.defs drwxrwxr-x+ 1 root root 31 Jan 31 2024 logrotate.d -rw-rwxr--+ 1 root root 782 Mar 5 2023 mke2fs.conf -rw-rwxr--+ 1 root root 286 Dec 9 2023 motd lrwxrwxrwx 1 root root 12 May 26 09:25 mtab -> /proc/mounts -rw-rwxr--+ 1 root root 60 Jan 31 2024 networks -rw-rwxr--+ 1 root root 494 Sep 22 2022 nsswitch.conf drwxrwxr-x+ 2 root root 6 Jan 30 2024 opt lrwxrwxrwx 1 root root 21 Dec 9 2023 os-release -> ../usr/lib/os-release -rw-rwxr--+ 1 root root 552 Sep 21 2023 pam.conf drwxrwxr-x+ 2 root root 4.0K Jan 30 2024 pam.d -rw-rwxr--+ 1 root root 889 Jan 31 2024 passwd -rw-rwxr--+ 1 root root 839 Jan 30 2024 passwd- drwxrwxr-x+ 3 root root 17 Jan 31 2024 perl drwxrwxr-x+ 2 postgres postgres 6 Nov 8 2023 postgresql drwxrwxr-x+ 3 root root 122 Jan 31 2024 postgresql-common -rw-rwxr--+ 1 root root 769 Apr 10 2021 profile drwxrwxr-x+ 2 root root 6 Dec 9 2023 profile.d -rw-rwxr--+ 1 root root 3.1K Oct 17 2022 protocols -rw-rwx---+ 1 root root 0 Jan 30 2024 .pwd.lock drwxrwxr-x+ 1 root root 27 Jan 31 2024 rc0.d drwxrwxr-x+ 1 root root 27 Jan 31 2024 rc1.d drwxrwxr-x+ 1 root root 27 Jan 31 2024 rc2.d drwxrwxr-x+ 1 root root 27 Jan 31 2024 rc3.d drwxrwxr-x+ 1 root root 27 Jan 31 2024 rc4.d drwxrwxr-x+ 1 root root 27 Jan 31 2024 rc5.d drwxrwxr-x+ 1 root root 27 Jan 31 2024 rc6.d drwxrwxr-x+ 2 root root 27 Jan 30 2024 rcS.d -rw-r-----+ 1 root root 344 May 26 09:25 resolv.conf lrwxrwxrwx 1 root root 13 Apr 6 2023 rmt -> /usr/sbin/rmt -rw-rwxr--+ 1 root root 911 Oct 17 2022 rpc drwxrwxr-x+ 4 root root 4.0K Jan 30 2024 security drwxrwxr-x+ 2 root root 27 Jan 30 2024 selinux -rw-rwxr--+ 1 root root 13K Mar 27 2021 services -rw-rwx---+ 1 root shadow 497 Jan 31 2024 shadow -rw-rwx---+ 1 root shadow 474 Jan 30 2024 shadow- -rw-rwxr--+ 1 root root 128 Jan 30 2024 shells drwxrwxr-x+ 2 root root 57 Jan 30 2024 skel drwxrwxr-x+ 4 root root 53 Jan 31 2024 ssl -rw-rwxr--+ 1 root root 0 Jan 30 2024 subgid -rw-rwxr--+ 1 root root 0 Jan 30 2024 subuid drwxrwxr-x+ 1 root root 20 Sep 18 2022 systemd drwxrwxr-x+ 2 root root 20 Jan 30 2024 terminfo -rw-rwxr--+ 1 root root 8 Jan 30 2024 timezone -rw-rwxr--+ 1 root root 1.3K Jan 27 2023 ucf.conf drwxrwxr-x+ 2 root root 22 Jan 30 2024 update-motd.d drwxrwxr-x+ 3 root root 24 Jan 31 2024 X11 -rw-rwxr--+ 1 root root 681 Jan 17 2023 xattr.conf root@7781457efea2:/#