When i run the below command
$ docker-compose exec web bash
This is the error which i faced :
OCI runtime exec failed: exec failed: unable to start container process: open /dev/pts/0: operation not permitted: unknown
This happened to me too. But I accidentally stopped the container and after restarting the container, the problem was solved.
This way worked for all my containers.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With