Named volume example (#70)
This commit is contained in:
1 parent
886d0856c5
commit
c84524ea09
1 file changed
+7
@@ -77,6 +77,13 @@ docker run -d -it --name bds-flat-creative \
|
|||||||
- `/data` : the location where the downloaded server is expanded and ran. Also contains the
|
- `/data` : the location where the downloaded server is expanded and ran. Also contains the
|
||||||
configuration properties file `server.properties`
|
configuration properties file `server.properties`
|
||||||
|
|
||||||
|
You can create a `named volume` and use it as:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker volume create mc-volume
|
||||||
|
docker run -d -it --name mc-server -e EULA=TRUE -p 19132:19132/udp -v mc-volume:/data itzg/minecraft-bedrock-server
|
||||||
|
```
|
||||||
|
|
||||||
## Connecting
|
## Connecting
|
||||||
|
|
||||||
When running the container on your LAN, you can find and connect to the dedicated server
|
When running the container on your LAN, you can find and connect to the dedicated server
|
||||||
|
|||||||
Reference in new issue
Block a user