minecraft-server | [18:05:50] [ServerMain/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
minecraft-server exited with code 0
```
7. **Accept the EULA**
- Go into the .server-data folder
1. `cd .server-data`
- Edit the file named eula.txt in a text editor i.e. vim `vim eula.txt`
1. Simply change `eula=false` to `eula=true`
8. **While in the .server-data folder make any changes you want**
- Some files to note in here are
- **server.properties** - properties like server name, game mode, world type etc…
- **ops.json** - list of server operators (easier to set ingame)
- **whitelist.json** - list of players allowed to join the server everyone else rejected access.
9. **Run the container**
- `docker compose up -d` (the -d means detatched so we can run the server in the background)
- `docker logs minecraft-server --follow` Will show us the progress of the server startup (to exit out of this do CTRL+C)
- If you see something like the following then you’re a winner 🥳
```bash
[18:17:01] [Server thread/INFO]: Time elapsed: 25529 ms
[18:17:01] [Server thread/INFO]: Done (34.571s)! For help, type "help"
```
[^1]: Hosting your own dedicated server allows you to modify every aspect of the server as you see fit. I.E you can modify the server-properties, you can implement a whitelist not to mention being able to add any mods you want
[^2]: Requirements Gathered from here [https://minecraft.fandom.com/wiki/Server/Requirements/Dedicated#Unix\_.28Linux.2C\_BSD.2C\_macOS.29](https://minecraft.fandom.com/wiki/Server/Requirements/Dedicated#Unix_.28Linux.2C_BSD.2C_macOS.29)
[^3]: Yaml is very picky 😞 when it comes to formatting so if you encounter any errors double check your formatting !!
[^4]: I have left Forge out as it is a more involved process plus Fabric is better 😜
[^5]: Right click the green link that says something like minecraft_server.x.xx.x.jar and copy the link address
curl -o server.jar \<link you copied here\>
[^6]: Select the Minecraft version, Fabric Loader Version and the Installer Version of your choice. I tend to go with the latest.