![]() ![]() Ensure you change the variables to your own as per the instructions above. You can use the below code saved as minecraft.yml in the ‘/docker/minecraft’ share, this will do the entire process above in one quick command via SSH. You can track the progress by going into the ‘Containers’ tab and clicking on details for the Minecraft container, then either viewing the terminal or log tabs.Īll other server settings can be configured using the standard Minecraft server.properties file, I won’t be covering that here as there are extensive other guides out there. The first time the server launches it may take a few minutes for the server files to download and the world to be generated. You will now see the Port Settings screen, you will need to type in the Local Ports to match the Container Ports shown on the right hand side, this will stop the container from being assigned random ports when it is started and make accessing your server easy. Press ‘Save’ to go back to the initial setup screen, then press ‘Next’ Port Settings You do not need to set up anything on these tabs. These variables are used to increase the performance of the server – Copy and paste this exactlyĪmend the number to the amount of memory you want to allocate to the server this will depend on your system or server type you are running XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 You can change this to any a specific version if you want e.g 1.13 You can change this as per the list below This accepts the Minecraft EULA, without this the server will not run ![]() This will be prefilled with 1000 change it to the GID you obtained earlier This will be prefilled with 1000 change it to the UID you obtained earlier We are now going to set up the specific options for the server including what type of server you would like to run and even a specific version.Įach of the values below are added by clicking the ‘Add’ button at the top of the screen and then entering each of the values below variable Next up we are going to click on the ‘Advanced Settings’ button, this will take you to a new window with a number of tabs which we are going to work through.Įnvironment Variables – GID, UID, Server Type and EULA You will be greeted with the Network screen, we will be using the ‘synobridge’ network we created earlier select it from the list and click Next. Go back into Docker and click on the ‘Image’ tab, in the list of your containers select the ITZG Minecraft server, and click on ‘Launch’ Now we have downloaded the container and got hold of our user IDs we can move onto the next stage. Within the results right click and download the ‘ITZG|Minecraft-Server’, When it asks which version number to download select the one that you require based on the table below Minecraft Version Open up Docker within DSM and navigate to the ‘Registry’ tab and search for ITZG in the keyword box. ![]() Step 3: Setting Up a Docker Bridge Network Downloading the Container Step 2: Setting up a restricted Docker user In order for you to successfully use this guide please complete the setting up a docker user guide, or have your ID details to hand. If you are looking to host a server for a Console or Mobile you will want to see my Bedrock edition guide. In this guide I am going to take you through the steps to get a Minecraft JAVA server up and running in Docker on a Synology NAS. Screenshots update to DSM7 and tweaked the guide wordingĭSM7.1 Update with new screenshots and stepsĪdded new port settings and Docker Bridge Network Updated to show which version of the image to downloadĬleaned up the Environment Variables section and included some new JAVA optimisations
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |