docker run --security-opt no-new-privileges myimage
Category: Docker
docker run --security-opt no-new-privileges myimage
Prevent the container process from gaining additional privileges
Prevents the container process from escalating its own privileges (e.g. via setuid binaries).