Dockerized GeoServer based on Tomcat 9 and alpine linux
10K+
A simple docker container that runs Geoserver on alpine linux and tomcat 9 influenced by this project: https://github.com/kartoza/docker-geoserver
This image is based on the official tomcat 9 alpine image, using jre8 and Java Advanced Imaging plugins
Pull the image from Docker Hub using docker's pull command:
docker pull hbarel/docker-geoserver
(replace with the relevent version)
Build the image yourself:
docker build -t geoserver git://github.com/hagaibarel/docker-geoserver
To run a container do:
docker run --name "geoserver" -p 8080:8080 -d -t hbarel/docker-geoserver
Then, navigate to localhost:8080/geoserver/web
Note: The default geoserver user is 'admin' and the password is 'geoserver'. It's highly recommend that you change these as soon as you first log in.
Docker volumes can be used to persist your data.
mkdir -p ~/geoserver_data
docker run -d -v $HOME/geoserver_data:/opt/geoserver/data_dir hbarel/docker-geoserver
You need to ensure the geoserver_data directory has sufficient permissions
for the docker process to read / write it.
Content type
Image
Digest
Size
300.2 MB
Last updated
about 9 years ago
docker pull hbarel/docker-geoserver