Skip to content

Commit e43669d

Browse files
authored
Clarify in docs to not port forward RCON unless secure (#2004)
1 parent cf4fed6 commit e43669d

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN --mount=target=/build,source=build \
1414

1515
COPY --chmod=644 files/sudoers* /etc/sudoers.d
1616

17-
EXPOSE 25565 25575
17+
EXPOSE 25565
1818

1919
# hook into docker BuildKit --platform support
2020
# see https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
[![Build and Publish](https://github.com/itzg/docker-minecraft-server/workflows/Build%20and%20Publish/badge.svg)](https://github.com/itzg/docker-minecraft-server/actions)
66
[![](https://img.shields.io/badge/Donate-Buy%20me%20a%20coffee-orange.svg)](https://www.buymeacoffee.com/itzg)
77

8+
## Intro
9+
810
This docker image provides a Minecraft Server that will automatically download the latest stable
911
version at startup. You can also run/upgrade to any specific version or the
1012
latest snapshot. See the _Versions_ section below for more information.
@@ -19,11 +21,9 @@ where, in this case, the standard server port 25565, will be exposed on your hos
1921
2022
> Be sure to always include `-e EULA=TRUE` in your commands and container definitions, as Mojang/Microsoft requires EULA acceptance.
2123
22-
By default, the container will download the latest version of the "vanilla" [Minecraft: Java Edition server](https://www.minecraft.net/en-us/download/server) provided by Mojang. The [`VERSION`](#versions) and the [`TYPE`](#server-types) can be configured to create many variations of desired Minecraft server.
24+
> **DO NOT** port forward RCON on 25575 without first setting `RCON_PASSWORD` to a secure value. It is highly recommended to only use RCON within the container, such as with `rcon-cli`.
2325
24-
## Mitigated Log4jShell Vulnerability
25-
26-
**Please ensure you have pulled the latest image** since [all official mitigations](https://www.minecraft.net/en-us/article/important-message--security-vulnerability-java-edition) are automatically applied by the container startup process.
26+
By default, the container will download the latest version of the "vanilla" [Minecraft: Java Edition server](https://www.minecraft.net/en-us/download/server) provided by Mojang. The [`VERSION`](#versions) and the [`TYPE`](#server-types) can be configured to create many variations of desired Minecraft server.
2727

2828
## Looking for a Bedrock Dedicated Server
2929

@@ -1902,6 +1902,10 @@ To run this image on a RaspberryPi 3 B+, 4, or newer, use any of the image tags
19021902

19031903
> If experiencing issues such as "sleep: cannot read realtime clock: Operation not permitted", ensure `libseccomp` is up to date on your host. In some cases adding `:Z` flag to the `/data` mount may be needed, [but use cautiously](https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label).
19041904

1905+
## Mitigated Log4jShell Vulnerability
1906+
1907+
**Please ensure you have pulled the latest image** since [all official mitigations](https://www.minecraft.net/en-us/article/important-message--security-vulnerability-java-edition) are automatically applied by the container startup process.
1908+
19051909
## Contributing
19061910

19071911
See [Development](DEVELOPMENT.md) and [Building](BUILDING.md).

0 commit comments

Comments
 (0)