title: Docker - unknown command "run"
body: <p>I am trying to run a docker container on an Ubuntu WSL2 instance on Windows 10. Docker version installed in 20.10.17. I have been able to run docker commands and build the image successfully.</p>
  <p>The output of docker images:
  <a href="https://i.stack.imgur.com/ifPX9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ifPX9.png" alt="enter image description here" /></a></p>
  <p>When I try to run the container using the command <code>docker run -p 5000:5000 test</code> it gives the following error:
  <a href="https://i.stack.imgur.com/pic2U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pic2U.png" alt="enter image description here" /></a></p>
  <p>I have never had this issue with docker before and not sure why it thinks it's an npm command. Does anyone know why this is happening?</p>