Skip to content

specify udp in Docker run command#389

Open
niko-at-chalupa wants to merge 3 commits into
EndstoneMC:developfrom
niko-at-chalupa:main
Open

specify udp in Docker run command#389
niko-at-chalupa wants to merge 3 commits into
EndstoneMC:developfrom
niko-at-chalupa:main

Conversation

@niko-at-chalupa
Copy link
Copy Markdown

Specify port as UDP in the docker run example. Docker defaults to TCP, which causes connection problems for the server.

I did not notice this while testing the command initially. Sorry!

@Aevarkan
Copy link
Copy Markdown

When you were testing, did you have any issues with the volume path?

I had noticed this comment earlier: https://github.com/orgs/EndstoneMC/discussions/193#discussioncomment-16307822

Proper command is:
docker run --rm -it -v ${PWD}:/home/endstone/bedrock_server -p 19132:19132/udp endstone/endstone

I tested it on my own server, and that indeed seemed to be the case:

$ docker run --rm -it -v ${PWD}:/home/endstone -p 19132:19132/udp endstone/endstone
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "./docker-entrypoint.sh": stat ./docker-entrypoint.sh: no such file or directory

Run 'docker run --help' for more information

Adjusting it to -v ${PWD}:/home/endstone/bedrock_server fixed it.

Was that the same for you, using emulation?

@niko-at-chalupa
Copy link
Copy Markdown
Author

niko-at-chalupa commented Apr 29, 2026

I used a different volume path during testing, and only set that one so the volume path so it would align with the other commands. This seems to be the case!

This fails,

❯ docker run \
--platform linux/amd64 \
-p 19132:19132/udp \
-it \
-v ${PWD}:/home/endstone/ \
--name endstone-server \
endstone/endstone

What's next:
    Debug this container error with Gordon → docker ai "help me fix this container error"
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "./docker-entrypoint.sh": stat ./docker-entrypoint.sh: no such file or directory

Run 'docker run --help' for more information

whereas

❯ docker run \
--platform linux/amd64 \
-p 19132:19132/udp \
-it \
-v ${PWD}:/home/endstone/bedrock_server \
--name endstone-server \
endstone/endstone
Bedrock Dedicated Server (v26.12) is not found in /home/endstone/bedrock_server. Would you like to download it now? [Y/n]:

this works successfully. I will write a commit fixing the command

@niko-at-chalupa
Copy link
Copy Markdown
Author

Do you think it's worth applying this fix to the two other commands?

@Aevarkan
Copy link
Copy Markdown

Since you're there, might as well!

The errors are identical, so I believe the correct volume really is /home/endstone/bedrock_server.

Makes me wonder how long people have been working around this 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants