Sign inSign up

coolloong/powernukkitx

By coolloong

•Updated almost 4 years ago

Image for https://github.com/PowerNukkitX/PowerNukkitX

Image
1

271

coolloong/powernukkitx repository overview

PowerNukkitX

Discord License: GPL v3 ChangeLog FAQ PNX-DOC Maven Central

The architecture supported by this image is amd64.

⁠Version Tags

This image provides two types of jdk for you to choose from.

TagAvailableDescription
graalvm✅High performance jdk
openjdk✅Open source generic jdk

⁠Usage

Here are some example snippets to help you get started creating a container.

⁠docker-compose
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 cli
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

⁠Tips

  • Use the docker attach pnx to enter the manage background and the Control-p Control-q to exit the background.
  • Execute a command using the docker exec pnx stop
  • Use the cli.jar tool updates libs and core in container. For details, see https://github.com/PowerNukkitX/PNX-CLI⁠
    Such as java -jar cli.jar libs -u | java -jar cli.jar server -u
  • /Path/to/xxx correspond to your local computer path.

⁠Environment Variables

VariablesFunction
-e language=engSet the language of nukkit can choose⁠
-e memory=2GJVM maximum heap memory

⁠🎨 Statistics

Issues Issues-Closed Pull-pr Pull-pr-closed

2019 - 2022 © PowerNukkitX⁠

Tag summary

Content type

Image

Digest

sha256:35998f2e0…

Size

249.8 MB

Last updated

almost 4 years ago

docker pull coolloong/powernukkitx:openjdk