You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Start a container with your files mounted to the folder /data (docker run -it <image_name> -v /local/folder/with/data:/data /bin/bash)"
this command throws the following error:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"-v\": executable file not found in $PATH": unknown.
ERRO[0005] error waiting for container: context canceled
after a lot of googling i found out that
Anything that is after the image name becomes part of the command that is run in the container
so the above command should be replaced with:
docker run -it --mount type=bind,src=/local/folder/with/data,dst=/data <image_name>
The text was updated successfully, but these errors were encountered:
The second installation instruction says
"Start a container with your files mounted to the folder /data (
docker run -it <image_name> -v /local/folder/with/data:/data /bin/bash
)"this command throws the following error:
after a lot of googling i found out that
Anything that is after the image name becomes part of the command that is run in the container
so the above command should be replaced with:
docker run -it --mount type=bind,src=/local/folder/with/data,dst=/data <image_name>
The text was updated successfully, but these errors were encountered: