-
-
Notifications
You must be signed in to change notification settings - Fork 274
Description
Here is what I got from running the docker command:
docker run -it --rm --name creative_minecraft -e DIRECT_DOWNLOAD_URL=https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-1.21.95.1.zip -e EULA=TRUE -e GAMEMODE=creative -e SERVER_NAME=DEMO1 -e OPS=Admin1231234 -e ENABLE_COMMAND_BLOCK=true -e ALLOW_CHEATS=true -p 19132:19132/udp -v mc-volume:/mcdata itzg/minecraft-bedrock-server
Using direct download URL from DIRECT_DOWNLOAD_URL environment variable. VERSION=LATEST is explicitly set, using it with DIRECT_DOWNLOAD_URL. Downloading Bedrock server version LATEST ... curl: (6) Could not resolve host: www.minecraft.net ERROR failed to download from https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-1.21.95.1.zip Double check that the given VERSION is valid
I am able to access the url on the host with both curl and wget but not though the following command: docker run --rm --entrypoint curl itzg/minecraft-bedrock-server -Aitzg/minecraft-bedrock-server -v https://www.minecraft.net/en-us/download/server/bedrock
Any solutions? Is there a way to use a given game package (zip) instead of the internal downloader?