Fix unable to start container process: unable to apply caps: operation not permitted: unknown in 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:
Thank you