Running docker image in command line: running into errors after copy+pasting code

I’m trying to run the OpenDroneMap docker image on my MacBook Pro Sierra. I have the image created, however, when I try to run the container I’m running into errors. I’m copying and pasting code from the README.md file so I don’t understand what the error is. Is there something wrong with the following code?

docker run -it --rm -v $(pwd)/images:/code/images v $(pwd)/odm_orthophoto:/code/odm_orthophoto -v $(pwd)/odm_texturing:/code/odm_texturing my_odm_image

It returns “Unable to find image ‘v:latest’ locally
docker: Error response from daemon: repository v not found: does not exist or no pull access.
See ‘docker run –help’.”

  • Is any way to Openshift respect Docker ENV variables
  • Turning cassandra inter-node encryption on causes “Unable to gossip with any seeds” exception
  • Install MongoDB and Tomcat using Dockerfile
  • How to run Docker for Mac without TLS?
  • Official Jenkins Dockerfile acting strange
  • How to build an imagem using Boot2Docker on Windows?
  • I’ve tried modified the command trying to guess at what could be wrong but I’m not familiar enough with command line to figure it out.

  • What is the best way to get (stream) data from BigQuery to R (Rstudio server in Docker)
  • Nginx docker (13: Permission denied) while logging request to mounted volume
  • Solr getting started in docker
  • How to merge host folder with container folder in Docker?
  • Can you explain roles of swarm machine?
  • What is the impact of using multiple Base Images in Docker?
  • One Solution collect form web for “Running docker image in command line: running into errors after copy+pasting code”

    As written in the comment by @user2105103, there is a typo in your docker run command (e.g. the -v flag is missing the dash at v $(pwd)/odm_orthophoto:/code/odm_orthophoto).

    Corrected version is:

    docker run -it --rm -v $(pwd)/images:/code/images -v $(pwd)/odm_orthophoto:/code/odm_orthophoto -v $(pwd)/odm_texturing:/code/odm_texturing my_odm_image

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.