|
1 | | -# minecraft-dockerized |
| 1 | + |
| 2 | +# Minecraft Server Container |
| 3 | +## Introduction |
| 4 | +Hello, this is my own creation of a Minecraft server that automatically starts when executing the Docker Run command. |
| 5 | + |
| 6 | +By default this server runs with the next configuration: |
| 7 | +- 1 GB of RAM. |
| 8 | +- Server MOTD: Dockerized Minecraft. |
| 9 | +- Default max players: 100. |
| 10 | +- Server Icon: https://www.iconarchive.com/download/i106016/papirus-team/papirus-apps/minecraft.64.png. |
| 11 | +- Eula already accepted (you should read it before running the server anyways). |
| 12 | + |
| 13 | +And that's it, there is no modified image in this container, just simple vanilla experience. |
| 14 | +## Usage |
| 15 | +### Create a new server |
| 16 | +To start using this container you can use the basics commands of Docker. |
| 17 | +For example, to create a new server you can use the following command: |
| 18 | +1. `docker run --name minecraft-server -d -p 25565:25565 dagp/minecraft-server` |
| 19 | +2. This will start the creation of the Minecraft Server, no world is previously generated so every time you create a server there will be a different world. **Keep in mind that the command will generate the latest version of Minecraft.** |
| 20 | + |
| 21 | +### Using an specific version of Minecraft |
| 22 | +In the #Tags section in this document you will find the tags to generate an specific version of Minecraft. |
| 23 | +For example if you want to create a server in 1.19.3 version you can use: |
| 24 | + |
| 25 | +`docker run --name minecraft-server -d -p 25565:25565 dagp/minecraft-server:1.19.3` |
| 26 | + |
| 27 | +### Starting and stoping the server |
| 28 | +`docker start minecraft-server` |
| 29 | +`docker stop minecraft-server` |
| 30 | + |
| 31 | +Remember that "**minecraft-server**" can be also the container ID or a custom name that you can specify when generating the container. |
| 32 | + |
| 33 | +To check the containers IDs you can use this command: `docker ps -a` |
| 34 | + |
| 35 | +## Future of this project |
| 36 | +I will continue to add more versions of Minecraft and also making possible to customize RAM, max players and MOTD when generating the container. I will also try to add Bukkit/Spigot images but keep in mind that every single version need to be tested manually so it will take a while. |
| 37 | + |
| 38 | +You can also find the Dockerfile if you want to generate an specific server in the following repository: https://github.com/dagp-ucol/minecraft-dockerized |
| 39 | + |
| 40 | +## Tags |
| 41 | +`latest` `1.19.4` |
0 commit comments