Fix unable to start container process: unable to apply caps: operation not permitted: unknown in Docker

/ January 22, 2023/ Docker

(Last Updated On: January 22, 2023)

While trying to run a docker-compose with a Frigate container inside an LXC container (in Proxmox) I had this problem and finally found the solution.

Ad:

The problem appears because the recommended docs of Frigate show a docker-compose.yml that declares that container as privileged: true but we are already in a privileged mode so that is not needed.

Removing privileged: true fixed the Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply caps: operation not permitted: unknown problem.

Ad:
Spread the love
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
thankful guy
thankful guy
1 year ago

Thank you