mirror of
https://github.com/AlexMacocian/Docker-Minecraft-Paper.git
synced 2026-07-15 15:19:32 +00:00
1a9118eb9a2d20dab913330c44d21a9d8b199d1e
Docker image for minecraft servers
Requires docker and powershell
First run
- Run
Build.ps1to build the image - Run
Start.ps1 - Run
Backup.ps1 - Run
Stop.ps1 - Edit your server files in the
backupdirectory. Edit stuff such as password, commands, etc. The container needs to exist for this to work - Run
Restore.ps1to restore your modified files into the container. The container needs to run for this to work - Run
Start.ps1
Script glossary
Build.ps1 to build the docker image
If the server is currently running, it will be stopped and rebuilt. Any changes in the docker container will be lost. Backup your files before building
Start.ps1 to start the server
Stop.ps1 to stop the server
Backup.ps1 to create a backup of the minecraft files
- If the container does not exist, backup will fail
- If the container exists, your files will be placed in
/backup/folder
Restore.ps1 to restore your minecraft files onto the server
- If the container does not exist, restore will fail
- If the container exists, your files will be restored from
/backup/folder to the server container
Description
Languages
PowerShell
81.3%
Dockerfile
18.7%