This Docker provides a GeoServer instance. The Dockerfile and context can be found in this repository:
NOTE: There are several Dockerfiles in this repository. The PostGIS Dockerfile is in the
There are two ways to install this Docker:
Pull image from Docker repository:
$ sudo docker pull ciwater/geoserver
Build from source:
$ git clone https://github.com/CI-WATER/tethys_docker.git $ cd tethys_docker/geoserver $ sudo docker build -t ciwater/geoserver .
Start the GeoServer Docker container as follows:
$ sudo docker run --rm -it -p 8080:8080 ciwater/geoserver
OR in deamon mode with a name:
$ sudo docker run -d -p 8080:8080 --name postgis ciwater/geoserver
Browse to http://localhost:8080/geoserver/web/ to see your running geoserver.
NOTE: The above command will map the Docker's port 8080 to the host 8080. If your port 8080 is not available, modify the command to use a port that works for you. See Docker Documentation for more information about how to use Docker containers.