Sounds like a good solution. Thank you very much for your answer. Best regards Adam Borczyk
On Mon, 23 Sep 2019 at 14:32, Jan Boonen <jan.boo...@geodan.nl> wrote: > Hi Adam, > > Due to the nature of Docker it's not possible to install GeoServer plugins > in a running Docker container. The best solution is to install the plugins > in a custom Docker image. You can then publish this image to your own > Docker Hub repository and create a new container based on this image. If > you like you can use an existing GeoServer Docker image as base image (e.g. > kartoza/geoserver, geosolutions/geoserver or boonen/geoserver). > > E.g. take a look at my Dockerfiles to see how you can install plugins at > build time: > https://github.com/boonen/docker-geoserver/blob/master/stable/openjdk11/Dockerfile > . > > Cheers, > > Jan > > -------------------------------------- > Geodan > Buitenhaven 27-A > 5211 TP 's-Hertogenbosch (NL) > > T +31 (0)73 - 692 5151 > M +31 (0)6 - 2395 1191 > E jan.boo...@geodan.nl > www.geodan.nl | disclaimer <https://www.geodan.nl/disclaimer/> > -------------------------------------- > > > Op ma 23 sep. 2019 om 11:57 schreef Adam Borczyk < > adam.borc...@gis-support.pl>: > >> Hello everyone, >> I'm having a Docker container with Geoserver and some actions on >> Geoserver require restart of the application. Those are eg. installing new >> extensions by copying *.jar files to desired directory. How can this be >> done inside Docker at the build/startup time? >> >> One way that I think of might be running container from non-tomcat image >> (like Ubuntu), starting up Geoserver/Tomcat, installing jars and manually >> execute command to restart tomcat. This is not very elegant though. Do you >> have any other ideas? I didn't manage to configure Geoserver to have those >> extensions loaded at the first run (even after copying all the files from >> standalone Geoserver that had those extensions installed), that's why I'm >> thinking about restarting. >> >> Best regards >> Adam Borczyk >> >> >> _______________________________________________ >> Geoserver-users mailing list >> >> Please make sure you read the following two resources before posting to >> this list: >> - Earning your support instead of buying it, but Ian Turton: >> http://www.ianturton.com/talks/foss4g.html#/ >> - The GeoServer user list posting guidelines: >> http://geoserver.org/comm/userlist-guidelines.html >> >> If you want to request a feature or an improvement, also see this: >> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer >> >> >> Geoserver-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users