This is easy to fix. Install docker portainer and click on "Exec console" to enter the minecraft directory tree. If you need to access a directory from LibreELEC then delete the minecraft container and run it again adding the parameter "-v <libreelec-directory>:<minecraft-directory>".
I was able to connect to the server! I just had to hit recreate in portainer and EULA got accepted.
I ran this command to create the server and create a directory I can access:
docker run -d -it -v /storage/Minecraft_Server/:/data:rw -p 25565:25565 -e EULA=TRUE itzg/minecraft-server
I'm going to see if I can run a PaperMC server from this container next.
Edit: I was able to do just that with this command:
docker run -d -it -v /storage/Minecraft_Server/:/data:rw -p 25565:25565 -e TYPE=PAPER -e PAPER_DOWNLOAD_URL=https://papermc.io/api/v2/projects/paper/versions/1.17.1/builds/96/downloads/paper-1.17.1-96.jar -e EULA=TRUE itzg/minecraft-server
I can't seem to add more than 2GB's of memory with -e MEMORY=2G
I'm using an 8GB Raspberry Pi.
Edit:
I tried this command: docker update -m 5g Minecraft_Server
But I get this: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
The autopause function is pretty neat for hibernating the server when no one is on.
The CPU reaches 400% quite easily and this is with a max overclock of 2222.
Successfully migrated the server from Windows, just had to change file permissions to be writable.
Game runs smooth, generating new terrain can be a little hit or or miss.
Running a Plex server on the Pi as well, and 4k movie play back while the Minecraft server is running works fine, even if someone is connected. The server load when no one is connected remains at about 15/400 of the CPU.
docker run --rm --name papermc -v /storage/minecraft/:/data:rw -p 25565:25565 -e JVM_MEMORY=1G
When I ran the command I got:
"docker run" requires at least 1 argument.
See 'docker run --help'.
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
So it didn't work, but seeing how you formatted -v was instrumental in figuring out how to format it correctly for the other command.