title: Docker expose all ports or range of ports from 7000 to 8000
body: <p>Can I specify a port range in a Dockerfile</p>
  
  <pre><code>EXPOSE 7000-8000
  </code></pre>
  
  <p>and when running the container bind all these exposed ports to the same ports on the host machine?</p>
  
  <pre><code>docker run -p 7000-8000:7000-8000
  </code></pre>