Spare IP/Port for Java - -p 192.168.1.11:25565:25565
Java Edition - RLCraft
docker run -d -it -v rlc-volume:/minecraft --name curseforge-rlc -p 192.168.1.99:25565:25565 -e EULA=true curseforge/rlcraft:2.8.2
Java Edition
docker run -d -it --name minecraft-jv -e EULA=TRUE -p 192.168.1.175:25565:25565 -v mj-volume:/data itzg/minecraft-server:java16
Bedrock Edition
docker run -d -it --name bedrock -e EULA=TRUE -p 192.168.1.50:19132:19132/udp -v bedrock:/data itzg/minecraft-bedrock-server
Docker Commands
Access Console
- docker attach bedrock
- - Control-p Control-q to detach
Check network ports in use in container
- docker inspect -f '{{.State.Pid}}' minecraft-jv
- nsenter -t 5549 -n netstat