skip to Main Content

when I try to run a project via running scripts in the terminal, there are some error infos, you may check my script file(in the following image). By the way, my pc is MacBook Air.

Error information details:

Error response from daemon: No such [container:] 3dscan
docker: invalid reference format: repository name must be lowercase.
See 'docker run --help'.
Error response from daemon: No such container: 3dscan
Error response from daemon: No such container: 3dscan
Error response from daemon: No such container: 3dscan
Error response from daemon: No such container: 3dscan
Error response from daemon: No such container: 3dscan
Error response from daemon: No such container: 3dscan
Error response from daemon: No such container: 3dscan

enter image description here

Firstly, I don’t think my name contains uppercase letters, but why did it report this error? Secondly, why it can’t find the container? Do I need to do anything extra to create the container? (Because in fact, I didn’t do anything else except run the script)

2

Answers


  1. My bet is that you run docker exec too early.

    Try to add:

    sleep 10
    

    as line 17.

    Login or Signup to reply.
  2. It’s a common mistake. You should quote your arguments related to the path or escaping characters. Try to quote commands that are involved with the path.

    For example:

    docker run -d -v "$workspace:/3DSCANWorkSpace" -v ...

    See this question for more detail.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search