Need help to run EdgeX using Docker (operation not permitted error) #195
-
I keep getting "operation not permitted" for some services that I wanted to run. Thus they kept restarting. I have been running these on Linux Ubuntu 22.04 amd64. I have used kamakura, jakarta and levski. Apparently, it working just fine in my arm64 device when I run the arm64 version. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
@hzqhpz-universlink You are trying to run the arm64 containers on x86_64. (look at the container names). |
Beta Was this translation helpful? Give feedback.
-
I assume you have installed the Docker engine with the snap and hitting a known issue. See: As a workaround, remove all instances of the following from your docker compose file: security_opt:
- no-new-privileges:true I don't know why that option is set and the implications of removing it. @bnevis-i any idea? |
Beta Was this translation helpful? Give feedback.
-
closing this discussion since the problem is resolved. |
Beta Was this translation helpful? Give feedback.
I assume you have installed the Docker engine with the snap and hitting a known issue.
See:
https://github.com/docker-snap/docker-snap#usage
https://bugs.launchpad.net/snapd/+bug/1908448
As a workaround, remove all instances of the following from your docker compose file:
I don't know why that option is set and the implications of removing it. @bnevis-i any idea?