scripts/fogcutter/docker/minecraft/launch.sh

15 lines
364 B
Bash
Raw Normal View History

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 \
--volume $PWD/data:/data \
--publish 10.42.0.203:25565:25565 \
--publish [2601:5c0:c100:6e65:96c6:91ff:feab:69e3]:25565:25565 \
itzg/minecraft-server:latest