title: How to know if a docker container is running in privileged mode
body: <p>Would like to know via bash script, if current running container was started in <code>--privileged</code> mode from <strong>inside</strong> the container (not from the host machine).</p>
  
  <p>For now I'm stuck with passing an env var with the flag but is not an ideal solution.</p>