Skip to content

jemacchi/docker-geoserver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-geoserver

How to run it

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 container

How to build it

If 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 build arguments to customize the image:

  • GEOSERVER_DATA_DIR_SRC to add your own custom datadir to the final image. This can be a local tar or directory or remote URL (see ADD instruction Doc)
  • GEOSERVER_WEBAPP_SRC to add your own custom web app to the final image. This can be a local tar or directory or remote URL (see ADD instruction Doc)

If you want to build or package your own web app you can customize the "mother" stage of Dockerfile accordingly

About

Docker Image for GeoServer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 75.9%
  • Dockerfile 24.1%