itzg/docker-minecraft-bedrock-server

Docker desktop for Mac, had to forward both TCP and UDP 19132 to container

开放

#29 创建于 2020年2月9日

 (16 条评论) (0 个反应) (0 位负责人)Shell (295 个派生)github user discovery
help wanted

仓库指标

星标
 (1,793 个星标)
PR 合并指标
 (平均合并 5小时 13分钟) (30 天内合并 10 个 PR)

描述

I am running Docker desktop on macOS. In order to connect (on my LAN) to the bedrock server from my iPhone on port 19132 I had to forward both UDP and TCP. Is this normal?

docker run -d --name=mc -e GAMEMODE=creative -e DIFFICULTY=peaceful -e EULA=TRUE -p 19132:19132/udp -p 19132:19132 -v /Users/davidmcgough/mc:/data itzg/minecraft-bedrock-server

if I exclude either -p argument I cannot connect. I am raising this issue because I don't see any mention of forwarding the TCP port in the directions.

Thanks.

贡献者指南