title: Docker MySQL: "docker run" requires at least 1 argument
body: <p>I'm following this <a href="https://medium.com/@crmcmullen/how-to-run-mysql-in-a-docker-container-on-macos-with-persistent-local-data-58b89aec496a" rel="nofollow noreferrer">guide</a> to use MySQL 8.0 in Docker (on macOS host), but I'm having some issues. I have no Docker experience other than this, so please be easy on me. I tried to debug as best I could. It seems the author of the guide has some outdated commands/syntax errors (not sure which), which I think I've fixed. However, when I try to run the following command, I keep getting the error below:</p>
  
  <p>Command:</p>
  
  <pre><code>docker run --restart always --name mysql8.0 --network dev-network -v /Users/[my-name]/mysql/data/8.0:/var/lib/mysql -p 3306:3308 -d -e MYSQL_ROOT_PASSWORD=[my-password] mysql:8.0
  </code></pre>
  
  <p>( <code>[my-name]</code> and <code>[my-password]</code> are subbed out).</p>
  
  <p>Error:
  <code>"docker run" requires at least 1 argument.</code></p>
  
  <p>I've checked <code>docker run --help</code> but can't get any further.</p>
  
  <p>I've also found this <a href="https://stackoverflow.com/questions/56308424/docker-container-run-requires-at-least-1-argument">question</a> and this <a href="https://stackoverflow.com/questions/55041231/docker-run-not-working-it-says-requires-at-least-1-argument">question</a>, but those cases seem highly specific to the OPs' situation, so the answers didn't yield any successful results for me.</p>
  
  <p>Any help or suggestions are appreciated.</p>