/ 7浏览

Docker 构建mc服务器底座

docker run -d -p 25565:25565 --restart=unless-stopped --name minecraft-server  -v /root/minecraft/:/minecraft minecraft_server
docker build -t minecraft_server .
docker logs minecraft-server -f
docker run -d -p 25565:25565 --restart=unless-stopped --name minecraft-server  -v H:\minecraft-server/:/minecraft minecraft_server