Forgot to add details.
Tried it on Windows 11 with Docker desktop v4.34.3 and Synology DSM 7.2.1-69057 update 5 using container manager.
They both have a log of:
stdout
wrapper | <-- Wrapper Stopped
stdout
wrapper | TERM trapped. Shutting down.
stdout
"jvm 1 | 2024-10-18 23:01:09,736 INFO [WrapperJarAppMain] DatabaseMigrator:53 - ************************************************************************"
stdout
jvm 1 | ************************************************************************
stdout
"jvm 1 | 2024-10-18 23:01:09,735 INFO [WrapperJarAppMain] DatabaseMigrator:53 - WARNING: Shutting down your server at this point will lead to a database corruption. Please wait until the database upgrade completes."
stdout
jvm 1 | WARNING: Shutting down your server at this point will lead to a database corruption. Please wait until the database upgrade completes.
stdout
"jvm 1 | 2024-10-18 23:01:09,734 INFO [WrapperJarAppMain] DatabaseMigrator:53 - ************************************************************************"
stdout
jvm 1 | ************************************************************************
stdout
"jvm 1 | 2024-10-18 23:01:09,733 INFO [WrapperJarAppMain] DatabaseMigrator:44 - Upgrading database, this might take a while depending on the size of the database."
stdout
"jvm 1 | 2024-10-18 23:01:09,186 WARN [WrapperJarAppMain] ConnectionManager:117 - The file config/db.properties specified by `go.db.config` does not exist."
stdout
"jvm 1 | 2024-10-18 23:01:03,332 WARN [WrapperJarAppMain] AbstractHandler:88 - No Server set for ResourceHandler@447a0fea{STOPPED}"
stdout
"jvm 1 | 2024-10-18 23:01:03,212 WARN [WrapperJarAppMain] Server:366 - ErrorPageMapper not supported for Server level Error Handling"
stdout
"jvm 1 | 2024-10-18 23:01:03,060 INFO [WrapperJarAppMain] JettyServer:194 - Configuring Jetty using /go-working-dir/config/jetty.xml"
stdout
jvm 1 | Using classpath resource `jar:onejar:lib/server-launcher-24.3.0-19261-main.jar!/config/logback.xml'.
stdout
jvm 1 | Could not find file `config/logback.xml'. Attempting to load from classpath.
stdout
jvm 1 | [Fri Oct 18 23:01:00 GMT 2024] Operating System: Linux(4.4.302+)
stdout
jvm 1 | [Fri Oct 18 23:01:00 GMT 2024] Java Version: 21.0.4
stdout
jvm 1 | [Fri Oct 18 23:01:00 GMT 2024] GoCD Version: 24.3.0-19261
stdout
jvm 1 | [Fri Oct 18 23:01:00 GMT 2024] Application arguments: []
stdout
jvm 1 | [Fri Oct 18 23:01:00 GMT 2024] Working directory : /go-working-dir
stdout
jvm 1 | [Fri Oct 18 23:01:00 GMT 2024] Starting process:
stdout
jvm 1 | WrapperManager: Initializing...
stdout
wrapper | Launching a JVM...
stdout
wrapper |
stdout
wrapper | Licensed to ThoughtWorks for GoCD Server
stdout
wrapper |
https://wrapper.tanukisoftware.comstdout
"wrapper | Copyright (C) 1999-2024 Tanuki Software, Ltd. All Rights Reserved.
stdout
]0;go-server wrapper | Java Service Wrapper Standard Edition 64-bit 3.5.59
stdout
wrapper | --> Wrapper Started as Console
stdout
Running go-server...
stdout
$ exec /usr/local/sbin/tini -g -- /go-working-dir/bin/go-server console
stdout
$ sed -i -e s...@wrapper.logfile=.*@wrapper.logfile=/go-working-dir/logs/go-server-wrapper.log@g -e s...@wrapper.java.command=.*@wrapper.java.command=/gocd-jre/bin/java@g -e s...@wrapper.working.dir=.*@wrapper.working.dir=/go-working-dir@g /go-server/wrapper-config/wrapper.conf
stdout
/docker-entrypoint.sh: Running custom scripts in /docker-entrypoint.d/ ...