From c84524ea09fa4e0ba3e6eef18bafbd0e7d1052e8 Mon Sep 17 00:00:00 2001 From: Luis Marroquin Date: Thu, 25 Jun 2020 14:39:15 -0500 Subject: [PATCH] Named volume example (#70) --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c61241..801998f 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,14 @@ docker run -d -it --name bds-flat-creative \ - `/data` : the location where the downloaded server is expanded and ran. Also contains the 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 When running the container on your LAN, you can find and connect to the dedicated server