Sign inSign up

mrrobot245/skyfactory-4

By mrrobot245

Updated over 6 years ago

Image
0

2.4K

mrrobot245/skyfactory-4 repository overview

Docker-SkyFactory-4

In order to persist the Minecraft data, which you must do, use the -v argument to map a directory of the host to /data:

docker run -d -v /path/on/host:/data -p 25565:25565 mrrobot245/skyfactory-4

When attached in this way you can stop the server, edit the configuration under your attached /path/on/host and start the server again with docker start CONTAINERID to pick up the new configuration.

Server configuration

The message of the day, shown below each server entry in the UI, can be changed with the MOTD environment variable, such as:

docker run -d -e 'MOTD=My Server' ...

If you leave it off, the last used or default message will be used.

The Java memory limit can be adjusted using the JVM_OPTS environment variable, where the default is the setting shown in the example (max and min at 2048 MB):

docker run -e 'JVM_OPTS=-Xmx2048M -Xms2048M' ...

Tag summary

Content type

Image

Digest

Size

335.9 MB

Last updated

over 6 years ago

docker pull mrrobot245/skyfactory-4