Post Reply 
Timezone incorrect in MinimServer
30-08-2018, 20:57
Post: #2
RE: Timezone incorrect in MinimServer
You need to set the correct timezone in the Docker container before starting MinimServer. The simplest way I have found to do this is to add one line to your Dockerfile, as follows:

FROM openjdk:9-jre
EXPOSE 1900/udp 9790 9791
ADD ./MinimServer-0.8.5.2-linux-intel.tar.gz /opt
RUN echo "Europe/London" >/etc/timezone
ENTRYPOINT [ "/bin/sh", "/opt/minimserver/bin/startc" ]

The extra line is the line starting with RUN. After you have done this, you need to delete the MinimServer container and image and recreate both of these using the updated Dockerfile.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Timezone incorrect in MinimServer - simoncn - 30-08-2018 20:57

Forum Jump:


User(s) browsing this thread: 1 Guest(s)