steve landiss
steve landiss

Reputation: 1913

How do I run a docker container as a privileged user with user namespaces

I am running with user namespaces enabled and I need to run a particular container as a root user (the container needs to be able to execute the Linux mount command from inside).

How do I run a specific container in privileged mode when namespaces are enabled?

Upvotes: 0

Views: 1316

Answers (1)

steve landiss
steve landiss

Reputation: 1913

Found the answer... set --userns host on the docker run command

Upvotes: 1

Related Questions