Thanks @terpz , to give you the full context we are using IoT Edge containers. So running docker run command is not really in our control but we can use container create options if we want to. (ref: Docker Engine API v1.30 Reference). This is how we pass the --privileged option.
Is there any way that once the container is created, we can run commands from within the container?