-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with starting server #2773
Comments
Wrong repo. I'll move this to the right place but you need to provide more information about what you tried. You're calling docker incorrectly but can't provide any advice without more info. |
I am supprised with such quick response. What info do you need? I`ve been trying to run with this command: docker run -e EULA=TRUE -d -it -p 25565:25565 -v C:Minecraft_Java:/data itzg/minecraft-server Now I`m gonna remove all the "t" and check if it works. |
Specifying Windows absolute paths is always a little tricky. Make sure to use backslashes like shown in this answer https://stackoverflow.com/a/72578357/121324 Better yet, I recommend switching to using a compose file to declare your container and then you can use simple, relative paths https://docker-minecraft-server.readthedocs.io/en/latest/#using-docker-compose |
What does -t have to do with paths? I m confused. |
Something about the command line parsing is not liking your command. The colon from the Windows path without a backslash is likely the culprit. |
Does the fact, that I |
No, it's Docker either way. What is the latest command you're trying on QNAP? |
This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open. |
I have seen many very similiar problems, but no exact copy. When I try to launch container, i see this error message:
[14:00:16]` [ServerMain/ERROR]: Failed to start the minecraft server
joptsimple.UnrecognizedOptionException: t is not a recognized option
at joptsimple.OptionException.unrecognizedOption(OptionException.java:108) ~[jopt-simple-5.0.4.jar:?]
at joptsimple.OptionParser.validateOptionCharacters(OptionParser.java:633) ~[jopt-simple-5.0.4.jar:?]
at joptsimple.OptionParser.handleShortOptionCluster(OptionParser.java:528) ~[jopt-simple-5.0.4.jar:?]
at joptsimple.OptionParser.handleShortOptionToken(OptionParser.java:523) ~[jopt-simple-5.0.4.jar:?]
at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:59) ~[jopt-simple-5.0.4.jar:?]
at joptsimple.OptionParser.parse(OptionParser.java:396) ~[jopt-simple-5.0.4.jar:?]
at net.minecraft.server.Main.main(SourceFile:87) ~[server-1.20.4.jar:?]
at net.minecraft.bundler.Main.lambda$run$0(Main.java:54) ~[?:?]
at java.lang.Thread.run(Unknown Source) ~[?:?]
Does anyone have an idea what might be the issue?
The text was updated successfully, but these errors were encountered: