Updated examples to enabled stdin and tty
This commit is contained in:
1 parent
5c484f1b3e
commit
2a99a538b3
2 files changed
+4
-2
No files matched your search
@@ -9,7 +9,7 @@ The following starts a Bedrock Dedicated Server running a default version and
|
|||||||
exposing the default UDP port:
|
exposing the default UDP port:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -d -e EULA=TRUE -p 19132:19132/udp itzg/minecraft-bedrock-server
|
docker run -d -it -e EULA=TRUE -p 19132:19132/udp itzg/minecraft-bedrock-server
|
||||||
```
|
```
|
||||||
|
|
||||||
## Looking for a Java Edition Server
|
## Looking for a Java Edition Server
|
||||||
@@ -61,7 +61,7 @@ The following environment variables will set the equivalent property in `server.
|
|||||||
For example, to configure a flat, creative server instead of the default use:
|
For example, to configure a flat, creative server instead of the default use:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -d --name bds-flat-creative \
|
docker run -d -it --name bds-flat-creative \
|
||||||
-e EULA=TRUE -e LEVEL_TYPE=flat -e GAMEMODE=creative \
|
-e EULA=TRUE -e LEVEL_TYPE=flat -e GAMEMODE=creative \
|
||||||
-p 19132:19132/udp itzg/minecraft-bedrock-server
|
-p 19132:19132/udp itzg/minecraft-bedrock-server
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ services:
|
|||||||
- 19132:19132/udp
|
- 19132:19132/udp
|
||||||
volumes:
|
volumes:
|
||||||
- bds:/data
|
- bds:/data
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
bds: {}
|
bds: {}
|
||||||
Reference in new issue
Block a user