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.
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;
Using the solution Docker Quickstart Toolbox works perfectly.
If you have any problem with this procedure please comment this post or the main post. Thanks! GWH!
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.