If you want to access the docker socket your pod / container must be
privileged, since the docker socket gives the pod full access to the host.
Set the privileged Boolean on the container’s security context

On May 10, 2018, at 9:43 AM, Mohmmed, Osman X <
[email protected]> wrote:

Hello,



I am trying to run Pumba in a pod and it seems to start well but resulting
in somekind of security error as mentioned below-



Also I tried to chmod 777 to docker.sock but to no effect.



time="2018-05-10T16:36:16Z" level=error msg="Got permission denied while
trying to connect to the Docker daemon socket at
unix:///var/run/docker.sock: Get
http://%2Fvar%2Frun%2Fdocker.sock/containers/json?limit=0:
dial unix /var/run/docker.sock: connect: permission denied"





Thanks in advance for your help,

Osman.



------------------------------

This e-mail and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed. If you are not the intended recipient or the individual
responsible for delivering the e-mail to the intended recipient, please be
advised that you have received this e-mail in error and that any use,
dissemination, forwarding, printing, or copying of this e-mail is strictly
prohibited.

If you have received this communication in error, please return it to the
sender immediately and delete the original message and any copy of it from
your computer system. If you have any questions concerning this message,
please contact the sender. Disclaimer R001.0

_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to