Name: docker-geoserver
Owner: GeoSolutions
Description: Docker Image for GeoServer
Created: 2017-05-29 11:55:21.0
Updated: 2018-03-26 13:29:35.0
Pushed: 2018-05-10 10:18:10.0
Homepage: null
Size: 11
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Dockerfile to build a Docker image for GeoServer. Built image available on Docker Hub
Pull the image from Docker Hub
docker pull geosolutionsit/geoserver
And run it
docker run --name gs -p 8080:8080 geosolutionsit/geoserver
Open your browser and point it to http://localhost:8080/geoserver
. GeoServer web interface will show up
There are some environment variables you can use at run time:
JAVA_OPTS
to customize JAVA_OPTS for the containerIf you want to build the image by yourself just run docker build
from the root of the repository
docker build -t geoserver:test .
There are a number of build arguments you can use for customization:
GEOSERVER_HOME
Base path for GeoServer directory hierarchy. By default will put everything under this directory (data directory, log files, audit files, cached tiles)GEOSERVER_DATA_DIR
Path for GeoServer data directoryGEOSERVER_AUDIT_PATH
Path for GeoServer audit files directoryGEOSERVER_LOG_LOCATION
Path for GeoServer log files directoryGEOWEBCACHE_CACHE_DIR
Path for cached tiles directoryINCLUDE_GS_WAR
Include GeoServer war from ./resources/geoserver
in the image?PLUGINS_DIR
Path to GeoServer plugins to include in the buildINCLUDE_DATA_DIR
Include GeoServer data directory from ./resources/geoserver-datadir
in the image?TOMCAT_EXTRAS
Delete default Tomcat applications from webapps directory (manager, examples, etc …) ?GEOSERVER_APP_NAME
Name of the GeoServer war copied into the image (defaults to geoserver
)