mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 14:22:27 +00:00
Dangling forge-data reference
This commit is contained in:
parent
ea08a6b496
commit
9962d28f41
1 changed files with 1 additions and 3 deletions
|
@ -77,13 +77,11 @@ or a specific version:
|
||||||
|
|
||||||
By default the container will run the selected "vanilla" (aka official) Minecraft server, but
|
By default the container will run the selected "vanilla" (aka official) Minecraft server, but
|
||||||
you can also choose to run the `LATEST` or a specific version of a [Forge server](http://www.minecraftforge.net/wiki/).
|
you can also choose to run the `LATEST` or a specific version of a [Forge server](http://www.minecraftforge.net/wiki/).
|
||||||
Enable Forge server mode, by adding a `-e TYPE=FORGE` to your command-line, such as
|
Enable Forge server mode by adding a `-e TYPE=FORGE` to your command-line, such as
|
||||||
|
|
||||||
$ mkdir forge-data
|
|
||||||
$ docker run -d -v /path/on/host:/data -e TYPE=FORGE -e VERSION=1.7.10 \
|
$ docker run -d -v /path/on/host:/data -e TYPE=FORGE -e VERSION=1.7.10 \
|
||||||
-p 25565:25565 -e EULA=TRUE itzg/minecraft
|
-p 25565:25565 -e EULA=TRUE itzg/minecraft
|
||||||
|
|
||||||
|
|
||||||
In order to add mods, you will need to attach the container's `/data` directory
|
In order to add mods, you will need to attach the container's `/data` directory
|
||||||
(see "Attaching data directory to host filesystem”).
|
(see "Attaching data directory to host filesystem”).
|
||||||
Then, you can add mods to the `/path/on/host/mods` folder you chose. From the example above,
|
Then, you can add mods to the `/path/on/host/mods` folder you chose. From the example above,
|
||||||
|
|
Loading…
Reference in a new issue