Open RyanHakurei opened 4 years ago
It is hard for me to help with issues caused by Docker or networking issues outside of the container. I would suggest posting on the Mojang BDS forums.
Otherwise, I'm not sure your approach to DNS and local time mounts is correct. DNS is supposed to be customized with
https://docs.docker.com/compose/compose-file/#dns
As for the system clock, containers share the kernel's view of the clock just like any other process running on the host. With that said, I have experienced an issue where the VM used by Docker Desktop on Windows would lose clock sync ever time my PC would sleep. Are you running on Windows Docker Desktop? If so, try restarting the VM.
Otherwise, I'm not sure your approach to DNS and local time mounts is correct. DNS is supposed to be customized with
I will attempt doing it that way.
As for the system clock, containers share the kernel's view of the clock just like any other process running on the host.
So I've read in the documentation, but oftentimes a Docker container's documentation will instruct you to assign your timezone as an environment variable, or link in /etc/localtime (Binhex's qBittorrent container for example) so I thought I'd give it a try.
As for my OS, I am running Docker on Linux.
@ryaniskira Did you solve this? I am seeing this too.
Docker on Arch Linux... Started container with basic example from the documentation:
docker run -d -it --name bds-flat-creative \ -e EULA=TRUE -e LEVEL_TYPE=flat -e GAMEMODE=creative \ -p 19132:19132/udp itzg/minecraft-bedrock-server
Actually I found it... Changing the ONLINE_MODE option to false allowed me to connect.
With ONLINE_MODE=false, remote users can connect via IP address (with their xbox id), and local clients on the same network as the server can connect without the need for a xbox id (the server becomes visible in the "Friends" tab)
Hey @itzg you pointed us in the right direction! Indeed, there was a problem with the Time settings in our docker host. So, the time was wrong in the container. We fixed the wrong time, and all clients can connect right away.
For all the people with this problem, please check the time on your container.
Hey @itzg you pointed us in the right direction! Indeed, there was a problem with the Time settings in our docker host. So, the time was wrong in the container. We fixed the wrong time, and all clients can connect right away.
For all the people with this problem, please check the time on your container.
How do you do this? I would like to be able to fix my timezone. I am in Central Time. I can't seem to get on my server without using the work around and would like to fix it right.
No matter what I do, I can't seem to get around this issue.
/etc/localtime
from the host)Here is the relevant snippet from my docker-compose:
Thing is I can sign into other servers suchs as Mineplex just fine, so it's not an issue on the client side.