Open JordiKing10 opened 2 years ago
What you're attempting should be fine.
It's actually running into a DNS problem since this is UDP to port 53
lookup mc on 127.0.0.11:53: read udp 127.0.0.1:43190->127.0.0.11:53: read: connection refused
A dns error on the same machine? What could be the solution? The thing is that I use your rcon client to restart the server periodically and I have noticed that after each restart the mc-backups container remained stopped. I had thought about forcing the automatic start but it would create a backup every day after the reboot
Anyway thanks for your help!
Docker is providing DNS internally to resolve service names to container IP address. Google for that particular symptom to look for solutions.
The docs say to set RCON_RETRIES to a negative value to have it retry indefinitely, if you're wanting to prevent the container from stopping on failures.
I use a script with rcon-cli to restart the server of minecraft and if i do when mc-backup is working, dont work anymore. When the server is up again cant connect so i restart both at once or only the mc-backup container when mc server is UP.
Here is the debug:
...