sandbox in ubuntu kubernetes

6/22/2020

I created a vs code application and it works with docker on a new computer. Just after I created deployment and exposed app on kubernetes this error occurred:

 [0622/134831.833081:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
 Most likely you need to configure your SUID sandbox correctly

How can I fix this error?


Aug 2 2020:

I created container with privilege in ubuntu terminal:

 docker run -ti --privileged -p 2020:80 --name webt2_web webt2

and then exposed the container:

 kubectl expose deployment webt2-node --name=webt2-node --type=LoadBalancer --port=80 --type=NodePort

And the error I got when I start the service is still the same. What did I do wrong?

-- BZM708
docker-in-docker
kubernetes
ubuntu
visual-studio-code

1 Answer

6/22/2020

Maybe you need to enable privileged mode for this container. Official documentation in this link

Or you can disable sandbox following this link

-- Rafael Turnes Silveira
Source: StackOverflow