title: How to run a privileged Docker container with the Jenkins declarative pipeline
body: <p>I've been trying for a while to run a privileged container in a Jenkins Declarative Pipeline, but I can't find out the syntax or any examples in the docs. What I have so far, with a un-privileged container:</p>
  
  <pre><code>pipeline {
      agent none
      stages {
          stage("Build") {
              agent {
                  docker { image "hello-world" }
              }
          }
      }
  }
  </code></pre>
  
  <p>It seems like a common use-case, I can't believe nobody ran into it already :(</p>