The PostGIS project uses docker for a number of regression tests and production use. We have two different docker setups.
On OSGeo infrastructure we have docker.osgeo.org which docker images are pushed to via postgis-docker.osgeo.org. These are currently only used by dronie.osgeo.org drone agents.
The docker osgeo infrastructure you can log in via your osgeo user id. Only PostGIS development team members have push rights to this repo. More details of the images, dockerfiles in use by it can be found at PostGIS-docker repo.
Here is an example of how you can pull an image, retag and push to postgis-docker.osgeo.org
# this is old repo we used to use docker pull docker.kbt.io/postgis/build-test:trisquel docker tag docker.kbt.io/postgis/build-test:trisquel postgis-docker.osgeo.org/postgis/build-test:trisquel docker login postgis-docker.osgeo.org #put in your OSGeo LDAP user id /password docker push postgis-docker.osgeo.org/postgis/build-test:trisquel #confirm you can pull from the read-only repo - it should recognize you already have it and just add another tag docker pull docker.osgeo.org/postgis/build-test:trisquel #To really test, you can (note you can add a --force at end of first to auto delete all dependent tags) docker rmi docker.osgeo.org/postgis/build-test:trisquel docker rmi postgis-docker.osgeo.org/postgis/build-test:trisquel docker rmi docker.kbt.io/postgis/build-test:trisquel docker pull docker.osgeo.org/postgis/build-test:trisquel
Docker Hub PostGIS
Docker Hub is used for travis testing and there is also a postgis for production use. The main link to all is https://hub.docker.com/u/postgis
- https://hub.docker.com/r/postgis/postgis - has production images managed by a community of PostGIS users. To become a contributor go to https://github.com/postgis/docker-postgis
- https://hub.docker.com/r/postgis/postgis-build-env - has development images managed by a PostGIS Development team set aside for regression testing. Do not use these for production use as they don't even have postgis installed on them. You can find the docker files here https://github.com/postgis/postgis-build-env