|
sudo docker run -v HDD/game-hosting/mc-xvr:/data --name xvrtest --net=host -d -it -e EULA=TRUE -e MEMORY=5G itzg/minecraft-server docker: Error response from daemon: create HDD/game-hosting/mc-xvr: "HDD/game-hosting/mc-xvr" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. |
Answered by
itzg
Dec 15, 2021
Replies: 1 comment
|
When using |
0 replies
Answer selected by
zephiowl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
-varguments withdocker run, then the host directory has to be an absolute path. Docker compose files let you use relative paths, so I prefer using that to avoid the annoyance of-v