Background:
Want to put the file in the mirror image
That is, as shown in Figure /mnt/code, it is shared with the container.
Use the following command to share and report an error:
docker: Error response from daemon: oci runtime error: container_linux.go:295: starting container process cause d “exec: “-v”: executable file not found in $PATH”.
I didn’t find out after half a day of searching, but I found that the directory was indeed mounted by using docker imspect.
How to solve …
Thank you very much.
The top is still troubled.