jessfraz / dockerfiles

Various Dockerfiles I use on the desktop and on servers.
https://blog.jessfraz.com/post/docker-containers-on-the-desktop/
MIT License
13.65k stars 2.55k forks source link

Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted #589

Open benjamin604 opened 1 year ago

benjamin604 commented 1 year ago

Hello,

I'm going round in circles a bit here. I've tried this docker on 3 different host OS - debian 11, centos7.9 and Ubuntu 20.04.5.

I keep getting the above error... I've had a look at this comment but must admit I've got no idea where to pass this command. I did try in the Dockerfile using a RUN command, but it still gives the namespace error.

Just to test, I'd like to at least try the --no-sandbox option, but not sure where to pass that either... could anyone point me in a direction?

Thanks, Ben

clouedoc commented 1 year ago

For info: you need to pass this in the command that invokes Chrome.