2019-08-25 14:17:20 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-08-31 18:51:01 -04:00
|
|
|
# Make data dir (as non-root) before launching
|
|
|
|
|
2019-08-25 14:17:20 -04:00
|
|
|
docker run \
|
|
|
|
--name minecraft \
|
|
|
|
--detach \
|
|
|
|
--restart unless-stopped \
|
|
|
|
--env EULA=TRUE \
|
|
|
|
--env MAX_MEMORY=8G \
|
2019-11-23 11:50:00 -05:00
|
|
|
--env VERSION=1.14.4 \
|
2019-09-08 16:17:15 -04:00
|
|
|
--volume $PWD/minecraft-data:/data \
|
2019-08-25 14:17:20 -04:00
|
|
|
--publish 10.42.0.203:25565:25565 \
|
|
|
|
--publish [2601:5c0:c100:6e65:96c6:91ff:feab:69e3]:25565:25565 \
|
|
|
|
itzg/minecraft-server:latest
|