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

  • How to COPY files of current directory to folder in Dockerfile
  • Dokku/Docker, how to access file in file system of running container?
  • TFS workspace with Jenkins Docker container
  • Difference between Docker ENTRYPOINT and Kubernetes container spec COMMAND?
  • Docker root folders on Windows location
  • Using a multidomain certificate for artifactory dokcer repo
  • 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.

  • How can I debug my docker container with phpStorm
  • Is there a way to get bazel to use sandbox directories when sandboxing is not supported?
  • Scripts in shell script not being executed in docker
  • Access all usb from docker container in docker native osx
  • Why is docker-compose throwing an error?
  • How to run same container on all Docker Swarm nodes
  • 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.