skip to Main Content

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

3

Answers


  1. this may happen on a selinux enabled kernel – caused by an upstream issue of the runc component.

    a interim workaround may help until the issue is resolved.

    Login or Signup to reply.
  2. 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.

    enter image description here

    Login or Signup to reply.
  3. Is a problem with iptables. If you are using a firewall like shorewall or selinux and modify any rules or policies, this will happen. SOlution is to restart docker engine or restart the container itself so the rules can be generated again.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search