Skip to content

curl: (6) Could not resolve host: www.minecraft.net #546

@Tengger

Description

@Tengger

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions