Image for https://github.com/PowerNukkitX/PowerNukkitX
271
The architecture supported by this image is amd64.
This image provides two types of jdk for you to choose from.
| Tag | Available | Description |
|---|---|---|
| graalvm | ✅ | High performance jdk |
| openjdk | ✅ | Open source generic jdk |
Here are some example snippets to help you get started creating a container.
version: "2.1"
services:
pnx:
image: coolloong/powernukkitx:graalvm
container_name: pnx
ports:
- "19132:19132"
environment:
- language=eng
- memory=2G
volumes:
- /path/to/plugins:/pnx/plugins
- /path/to/players:/pnx/players
- /path/to/worlds:/pnx/worlds
tty: true
stdin_open: true
docker run -itd \
--name=pnx \
-p 19132:19132 \
-e language=eng \
-e memory=2G \
-v /path/to/plugins:/pnx/plugins \
-v /path/to/players:/pnx/players \
-v /path/to/worlds:/pnx/worlds \
coolloong/powernukkitx:graalvm
docker attach pnx to enter the manage background and the Control-p Control-q to exit the background.docker exec pnx stopjava -jar cli.jar libs -u | java -jar cli.jar server -u/Path/to/xxx correspond to your local computer path.| Variables | Function |
|---|---|
-e language=eng | Set the language of nukkit can choose |
-e memory=2G | JVM maximum heap memory |
2019 - 2022 © PowerNukkitX
Content type
Image
Digest
sha256:35998f2e0…
Size
249.8 MB
Last updated
almost 4 years ago
docker pull coolloong/powernukkitx:openjdk