- Pull a GeoServer image:
docker pull docker.osgeo.org/geoserver:2.22.0
- Execute the
run.sh
script to run a new container:You can modify the following parameters:./run.sh
VERSION
: GeoServer's image versionEXTENSIONS
: GeoServer's extensionsHOST_DATADIR
: If set, bind host directoryHOST_DATADIR
to container's/opt/geoserver_data
CORS_ENABLED
: Enable CORSPORT
: Docker's port host