转载
When your run Docker Quickstart Terminal with a container that use volumes be careful on the path! If it returns the following error is due on the path passed to docker engine.
The error is caused by the tree directory that is composed by directory’s name with spaces. This is a problem because bash interprets the path until the space, and then take the rest as options of docker run command. This is the reason because of it return an error connected with the command docker run itself.
Solution
The possible solutions are two:
- The simplest way is put the path between double quotation marks.
- Otherwise, change the names of directories in the path or move the files in another directory.
网友评论