docker-minecraft-server: Unable to start Minecraft Server in Docker

Describe the problem

The error is in this file: 2024-08-23-output.log.txt

Basically it errors out while trying to spin up for the first time.

Container definition

services:
  mc:
    image: itzg/minecraft-server
    ports:
      - "25566:25566"
    environment:
      EULA: "true"
      MOD_PLATFORM: AUTO_CURSEFORGE
      # allocate from https://console.curseforge.com/ and set in .env file
      CF_API_KEY: <<key goes here>>
      CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/all-the-mods-9
      # Optional: select a specific version/file
      #CF_FILENAME_MATCHER: "0.2.34"
      MEMORY: 8G
    volumes:
      - mc-data:/data

volumes:
  mc-data: {}

Container logs

Log file is below

2024-08-23-output.log.txt

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 24 (6 by maintainers)

Most upvoted comments

You haven’t mentioned any time frame for the startup so as a guess perhaps health check timeout needs to be adjusted

https://docker-minecraft-server.readthedocs.io/en/latest/misc/healthcheck/

🤷 just going off of your provided logs

Gracefully stopping... (press Ctrl+C again to force)