{"id":19770841,"url":"https://github.com/nevrome/docker_postgres838_postgis135","last_synced_at":"2026-05-06T04:31:22.432Z","repository":{"id":95148394,"uuid":"119814813","full_name":"nevrome/docker_postgres838_postgis135","owner":"nevrome","description":"Docker image for PostgreSQL 8.3.8 with PostGIS 1.3.5","archived":false,"fork":false,"pushed_at":"2018-06-25T14:58:44.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T11:29:40.187Z","etag":null,"topics":["docker","postgis","postgresql"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/nevrome/docker_postgres838_postgis135/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nevrome.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-01T09:39:30.000Z","updated_at":"2022-12-01T06:44:19.000Z","dependencies_parsed_at":"2023-03-14T15:31:23.569Z","dependency_job_id":null,"html_url":"https://github.com/nevrome/docker_postgres838_postgis135","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nevrome/docker_postgres838_postgis135","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevrome%2Fdocker_postgres838_postgis135","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevrome%2Fdocker_postgres838_postgis135/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevrome%2Fdocker_postgres838_postgis135/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevrome%2Fdocker_postgres838_postgis135/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nevrome","download_url":"https://codeload.github.com/nevrome/docker_postgres838_postgis135/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevrome%2Fdocker_postgres838_postgis135/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32678575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","postgis","postgresql"],"created_at":"2024-11-12T04:49:53.861Z","updated_at":"2026-05-06T04:31:22.415Z","avatar_url":"https://github.com/nevrome.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker image for PostgreSQL 8.3.8 with PostGIS 1.3.5\n\nThis image is very simple. It's not intended for new projects. Please use the [official postgres images](https://hub.docker.com/_/postgres/) or -- if you need postgis -- an up-to-date and well prepared implementation like the one from [mdillon](https://hub.docker.com/r/mdillon/postgis/). \n\nThe abomination in this repository creates a badly crafted docker container with terribly outdated software (Ubuntu 12.04, PostgreSQL 8.3.8, PostGIS 1.3.5, etc.). I created it to deal with very old PostGIS enabled Postgres databases. In my usecase the work necessary to port the databases to new versions would be disproportionately high. I therefore decided to craft this container with the old environment. I share it here to provide people in the same situation with a fast solution.\n\n## Pull image from dockerhub and run container\n\n```\ndocker run \\\n-e POSTGRES_USER=\"docker\" \\\n-e POSTGRES_PASSWORD=\"'docker'\" \\\n-p 5432:5432 \\\n--name pgres8 \\\n-dit nevrome/docker_postgres838_postgis135 /bin/bash\n```\n\n## Build image and run container from scratch\n\n```\ndocker build -t docker_postgres838_postgis135 .\n\ndocker run \\\n-e POSTGRES_USER=\"docker\" \\\n-e POSTGRES_PASSWORD=\"'docker'\" \\\n-p 5432:5432 \\\n--name pgres8 \\\n-dit docker_postgres838_postgis135 /bin/bash\n```\n\n## Enable postgis for individual databases\nSee [here](http://www.postgis.org/download/postgis-1.3.5.pdf) for reference.\n\n```\ndocker exec -it pgres8 /bin/bash\n```\n\n```\nsu postgres\ncreatelang plpgsql [yourdatabase]\npsql -d [yourdatabase] -U [youruser] -f /usr/local/pgsql/share/lwpostgis.sql\npsql -d [yourdatabase] -U [youruser] -f /usr/local/pgsql/share/spatial_ref_sys.sql\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnevrome%2Fdocker_postgres838_postgis135","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnevrome%2Fdocker_postgres838_postgis135","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnevrome%2Fdocker_postgres838_postgis135/lists"}