title: How to run a docker command in Jenkins Build Execute Shell
body: <p>I'm new to Jenkins and I have been searching around but I couldn't find what I was looking for.</p>
  
  <p>I'd like to know how to run docker command in Jenkins (Build - Execute Shell):</p>
  
  <p>Example: <code>docker run hello-world</code></p>
  
  <p>I have set Docker Installation for "Install latest from docker.io" in Jenkins Configure System and also have installed several Docker plugins. However, it still didn't work.</p>
  
  <p>Can anyone help me point out what else should I check or set?</p>
  
  <p>John</p>