I am so confused. Docker Compose doesn’t find my file:
# docker-compose -f /srv/proxy/docker-compose.yml up -d
ERROR: .FileNotFoundError: [Errno 2] No such file or directory: '/srv/proxy/docker-compose.yml'
Even if it is right there:
# ls -la /srv/proxy
total 20
drwxr-xr-x 2 root root 4096 Aug 23 18:28 .
drwxr-xr-x 4 root root 4096 Aug 23 17:48 ..
-rw-r--r-- 1 root root 108 Aug 23 18:28 .editorconfig
-rw-r--r-- 1 root root 4 Aug 23 18:28 .gitignore
-rw-r--r-- 1 root root 796 Aug 23 18:28 docker-compose.yml
Also I cant cat
the file and the content shows up. I already tried to chmod 777
it but that didn’t help. What am I missing?