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 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’.”

  • Moving a Docker node to a different Azure account
  • Can't connect to dockerized rabbit from clients
  • How to specify IP of docker container in Marathon?
  • docker enterprise solution?
  • SSH agent forwarding during docker build
  • How to setup heroku app locally using docker?
  • 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.

  • Docker remove container error
  • How to setup hostnames using docker-compose?
  • Dockerfile - Defining an ENV variable with a dynamic value
  • Dockerfile and docker-compose not updating with new instructions
  • how can i dynamically create a docker container from a node application
  • HttpClient request on networked docker container
  • 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.