Docker Compose EULA not accepted? #1721
-
I am trying to create a server using Docker Compose, but the container never seems to get going. I finally figured out how to see the logs and found that it keeps giving me the following error about the EULA: [init] Please accept the Minecraft EULA at I can't figure out why this is happening, since I have the EULA set to true in my Docker Compose file: minecraft: I have tried all variations of EULA=TRUE, EULA= TRUE, and EULA= "TRUE" but nothing seems to work. I also tried taking out the ONLINE_MODE= "FALSE" in case that was interfering with the initial setup, but no dice. Apologies if this is a stupid mistake on my part, but thanks for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The space after the equal sign should not be there. In general I recommend avoiding the list-style and use object style instead: https://github.com/itzg/docker-minecraft-server/blob/master/examples/docker-compose.yml The next problem you'll hit is the literal inclusion of quotes on those other variables. |
Beta Was this translation helpful? Give feedback.
The space after the equal sign should not be there.
In general I recommend avoiding the list-style and use object style instead:
https://github.com/itzg/docker-minecraft-server/blob/master/examples/docker-compose.yml
The next problem you'll hit is the literal inclusion of quotes on those other variables.