search

Home  >  Q&A  >  body text

docker: invalid reference format

I'm following this tutorial on using Docker. When I try to run Docker (within the run.sh script):

docker run 
    -p 8888:8888 
    -v `pwd`/../src:/src 
    -v `pwd`/../data:/data -w /src supervisely_anpr 
    --rm 
    -it 
    bash

I get the error:

docker: invalid reference format.

I spent two hours but I can't really understand what's going wrong. Any ideas are greatly appreciated.

P粉121081658P粉121081658518 days ago738

reply all(1)I'll reply

  • P粉225961749

    P粉2259617492023-10-12 09:55:15

    In powershell you should use ${pwd} instead of $(pwd)

    reply
    0
  • Cancelreply