{"id":20819763,"url":"https://github.com/kmcsr/minecraft-image","last_synced_at":"2025-05-07T15:23:58.996Z","repository":{"id":144476985,"uuid":"553897813","full_name":"kmcsr/minecraft-image","owner":"kmcsr","description":"The docker image for minecraft server","archived":false,"fork":false,"pushed_at":"2025-03-31T06:48:10.000Z","size":59,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T07:32:10.997Z","etag":null,"topics":["docker-image","docker-minecraft","minecraft","minecraft-docker","minecraft-hosting","minecraft-server","minecraft-server-hosting"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/craftmine/minecraft","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kmcsr.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-19T00:12:58.000Z","updated_at":"2025-03-31T06:48:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"33c8a6dd-d5df-48df-b846-c7fb57e56cd6","html_url":"https://github.com/kmcsr/minecraft-image","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmcsr%2Fminecraft-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmcsr%2Fminecraft-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmcsr%2Fminecraft-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmcsr%2Fminecraft-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmcsr","download_url":"https://codeload.github.com/kmcsr/minecraft-image/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252903517,"owners_count":21822458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-image","docker-minecraft","minecraft","minecraft-docker","minecraft-hosting","minecraft-server","minecraft-server-hosting"],"created_at":"2024-11-17T22:07:20.096Z","updated_at":"2025-05-07T15:23:58.978Z","avatar_url":"https://github.com/kmcsr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Minecraft Server Docker Image\n\n## Introduction\n\nThis is docker java environment images of minecraft servers.\n\nWe packed [MCDReforged](https://mcdreforged.readthedocs.io/) too.\n\nThe docker repository is at \u003chttps://hub.docker.com/r/craftmine/minecraft\u003e\n\n## How to use it\n\n1. Make sure [Docker Cli](https://www.docker.com) is installed on the server.\n\n2. Use tag to pull the environment that you want:\n\t- Pure java: `docker pull craftmine/minecraft:java\u003cjava_version\u003e`\n\t- MCDReforged: `craftmine/minecraft:java\u003cjava_version\u003e-mcdr\u003cmcdr_version\u003e`\n\n3. Use `docker run` or `docker create` to create the server.\n\tFor example: `docker run -it --rm -v \"my-minecraft-server-volume\":\"/minecraft\" craftmine/minecraft:java17-mcdr`\n\t\u003e Hints:\n\t\u003e \t1. You must run the server with a volume if you will remove the container. It will be safer than without a volume.\n\t\u003e \t2. If you don't need to attach the console, you can use `docker run` with `-d`(detach) option\n\t\u003e \t3. If you used `docker create`, you must use `docker start` later to start the server\n\n4. Set up your minecraft server **inside** the container\n\n\t\u003e Since [Minecraft EULA](https://www.minecraft.net/en-us/eula), we can't pack minecraft server. You can download the server file from minecraft offical API (e.g. \u003chttps://www.minecraft.net/en-us/download/server\u003e).\n\t- For example, you can download the 1.19.2 server use the command below:\n\t\t```shell\n\t\twget -O /minecraft/minecraft.jar https://piston-data.mojang.com/v1/objects/f69c284232d7c7580bd89a5a4931c3581eae1378/server.jar\n\t\t```\n\t- We also pre-installed [minecraft server installer](https://github.com/kmcsr/server-installer) in newer images. It support install not only vanilla server, but also some popular servers (such as fabric, forge, spigot).\n\t\tDo `minecraft_installer` in the container for more information.\n\t\tExample command (to install latest fabric server for mcdreforged):\n\t\t```shell\n\t\tminecraft_installer -path /minecraft/server/ -name minecraft_server -server fabric -version latest\n\t\t```\n\n5. Sometimes you need to restart the docker containers, but you may just exit the init shell use `exit 0` and the server will be auto start\n\n6. Have fun :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmcsr%2Fminecraft-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmcsr%2Fminecraft-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmcsr%2Fminecraft-image/lists"}