Open johnw230873 opened 5 years ago
I wasn't able to re-create this issue so far. Do you have more than one minecraft-bedrock-server running at a time? That shouldn't be a problem, but curious if that's involved.
This might be a long shot too, but double check your C drive is enabled in File Sharing:
For comparison, my container run looks like:
PS C:\> docker run -it -e EULA=TRUE -p 19139:19132/udp -v c:/bds:/data itzg/minecraft-bedrock-server
DEBU[0000] Using /data to match uid and gid
DEBU[0000] Resolved UID=0 from match path
DEBU[0000] Resolved GID=0 from match path
DEBU[0000] Forwarding signal signal="window changed"
Downloading Bedrock server version 1.12.1.1 ...
Starting Bedrock server...
NO LOG FILE! - setting up server logging...
[2019-10-24 22:54:35 INFO] Starting Server
[2019-10-24 22:54:35 INFO] Version 1.12.1.1
[2019-10-24 22:54:35 INFO] Session ID 62fd1de2-bdf1-4ce0-9f3f-b786eb50e599
[2019-10-24 22:54:35 INFO] Level Name: Bedrock level
[2019-10-24 22:54:35 INFO] Game mode: 0 Survival
[2019-10-24 22:54:35 INFO] Difficulty: 1 EASY
[2019-10-24 22:54:41 INFO] IPv4 supported, port: 19132
[2019-10-24 22:54:41 INFO] IPv6 not supported
[2019-10-24 22:54:41 INFO] IPv4 supported, port: 46177
[2019-10-24 22:54:41 INFO] IPv6 not supported
[2019-10-24 22:54:42 INFO] Server started.
My Docker version info:
I'm using docker desktop 2.1.0.4 for Windows Docker version is 19.03.2 Version of Minecraft container is Docker 18.03.1-ee-3 on linux, amd64
I haven't an issue when trying to map a volume back to the local Windows computer where the container always says port is already in use. E.g this command works fine docker run -it -e EULA=TRUE -p 19139:19132/udp -v vol1:/data itzg/minecraft-bedrock-server
This command returns the error docker run -it -e EULA=TRUE -p 19139:19132/udp -v c:/temp:/data itzg/minecraft-bedrock-server
DEBU[0000] Using /data to match uid and gid DEBU[0000] Resolved UID=0 from match path DEBU[0000] Resolved GID=0 from match path DEBU[0000] Forwarding signal signal="window changed" Starting Bedrock server... NO LOG FILE! - setting up server logging... [2019-10-23 14:31:05 INFO] Starting Server [2019-10-23 14:31:05 INFO] Version 1.12.1.1 [2019-10-23 14:31:05 INFO] Session ID 5f68462a-8c40-4e67-91fd-e5d379eaf8fc [2019-10-23 14:31:05 INFO] Level Name: Bedrock level [2019-10-23 14:31:05 INFO] Game mode: 0 Survival [2019-10-23 14:31:05 INFO] Difficulty: 1 EASY [2019-10-23 14:31:05 ERROR] Network port occupied, can't start server. Quit correctly
any idea of the issue, doesn't matter what internal port I try to map to always the same issue, I've also tried a prewritten server.prop file using different ports, this also produced the same error.