Is Screen a bad option for ubuntu MC servers?
I'm trying to move my minecraft beta server to docker or screen so that I can access it through ssh. I'm having issues with Docker because all of the tutorials seem to generate entirely new server files. I'm not sure where but I believe I've heard people advise against using Screen for this. Thoughts?
7 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by tylabyla#0
If not screen, any ides on how I might go about using docker when I already have the files I like to use?
afaik you can import files to the docker container
wouldn’t i have to modify how the docker container launches? I’ll be using a different jar than the one it downloads
server jar*
when you replace the jar you just rename it to whatever the docker container calls it
it only downloads a new jar if no jar is found, not if it doesnt matches
screen is less secure than docker
when it comes to malware etc
You should know that you are able to have auto restarts with screen too. When you configure your service to run your server on startup you can also set a restart on failure flag (or restart always).
But containerization is indeed safer, I just mention it in case you are unable to dockerize. Additionally in this case make sure that the user that runs your service has no sudo privileges.