You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your network is dual-stack (IPv4 and IPv6), also map the IPv6 port:
17
+
18
+
```bash
19
+
-p 19132:19132/udp -p 19133:19133/udp
20
+
```
21
+
16
22
> **NOTE**: if you plan on running a server for a longer amount of time it is highly recommended using a management layer such as [Docker Compose](#deploying-with-docker-compose) or [Kubernetes](#deploying-with-kubernetes) to allow for incremental reconfiguration and image upgrades.
-**UDP** 19132 : the Bedrock server port on IPv4 set by `SERVER_PORT`. The IPv6 port is not exposed by default.
152
-
**NOTE** that you must append `/udp` when exposing the port, such as `-p 19132:19132/udp` and both IPv4 and IPv6 must be enabled on your host machine.
157
+
-**UDP** 19132 : the Bedrock server port for IPv4 clients, set by `SERVER_PORT`
158
+
-**UDP** 19133 : the Bedrock server port for IPv6 clients, set by `SERVER_PORT_V6`
159
+
160
+
**NOTE** that you must append `/udp` when exposing the ports, such as `-p 19132:19132/udp -p 19133:19133/udp`.
153
161
154
162
## Volumes
155
163
@@ -335,7 +343,7 @@ When finished, detach from the server console using Ctrl-p, Ctrl-q
335
343
## Deploying with Docker Compose
336
344
337
345
The [examples](examples) directory contains [an example Docker compose file](examples/docker-compose.yml) that declares:
338
-
- a service running the bedrock server container and exposing UDP port 19132. In the example is named "bds", short for "Bedrock Dedicated Server", but you can name the service whatever you want
346
+
- a service running the bedrock server container and exposing UDP ports 19132 (IPv4) and 19133 (IPv6). In the example is named "bds", short for "Bedrock Dedicated Server", but you can name the service whatever you want
339
347
- a volume attached to the service at the container path `/data`
#to actually create the minecraft server int the dns name "minesvrbedrock"
23
-
#the server will be running into server "minesvrbedrock.southcentralus.azurecontainer.io" port "19132", this take some time be patient.
23
+
#the server will be running into server "minesvrbedrock.southcentralus.azurecontainer.io" ports "19132" (IPv4) and "19133" (IPv6), this take some time be patient.
0 commit comments