-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
I have finally moved today from Docker Desktop to Orbstack after Mark's post which I read a long time ago, I exported my database and after a few updates to my local compose files to bring them up to par to the repository ones I get this error:
/docker-entrypoint.sh: Configuration complete; ready for start up
2025/07/31 15:54:57 [emerg] 1#1: open() "/var/www/html/nginx.conf" failed (1: Operation not permitted) in /etc/nginx/conf.d/default.conf:34
nginx: [emerg] open() "/var/www/html/nginx.conf" failed (1: Operation not permitted) in /etc/nginx/conf.d/default.conf:34
My compose.dev.yaml's nginx is mounted like the repo one:
- ./src/nginx.conf.sample:/var/www/html/nginx.conf:cached
I am able to run setup:upgrades after a database import, but the consequent bin/start
presents that error
An ls -haltr
gives this entry in the container after entering with bin/bash
-rw-r--r-- 1 app app 6.8K Jul 31 16:46 nginx.conf
Another bit of info, if I get into the container with bin/root
instead to print permissions I get a bunch of operation not permitted aswell:
...
ls -haltr
...
ls: generated: Operation not permitted
ls: var: Operation not permitted
ls: nginx.conf: Operation not permitted
ls: Gruntfile.js: Operation not permitted
...
-rw-r--r-- 1 root root 6.8K Jul 31 16:46 nginx.conf
drwxr-xr-x 1 app app 92 Jul 31 16:56 ..
drwxr-sr-x 1 app app 1.3K Jul 31 17:11 .
root@ebd9e7fbe577:/var/www/html# cat nginx.conf
cat: nginx.conf: Operation not permitted
My ls from the external terminal looks like this:
$ ls -haltr src/nginx.conf.sample
-rw-r--r-- 1 nesquik staff 6.8K Jul 31 18:46 src/nginx.conf.sample
I have already tried downing the containers and removing wholly the setup and remade from scratch to the same end.
Any clues or help would be appreciated,
thanks