Changes between Version 30 and Version 31 of DevWikiDockerTesting
- Timestamp:
- 01/30/23 20:03:55 (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevWikiDockerTesting
v30 v31 95 95 * **FOR PRODUCTION** [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] 96 96 97 The production images, lack tools such as autoconf and c/c++ compiler to build with, so not suitable for development work, but you can use for experimenting with postgis. 97 98 98 99 {{{ 99 100 docker pull postgis/postgis:latest 100 101 docker run --name postgis-test -e POSTGRES_PASSWORD=mysecretpassword -d postgis/postgis 102 docker run -d \ 103 --name postgis-test \ 104 -e POSTGRES_PASSWORD=whatever \ 105 -p 5432:5432 \ 106 -d postgis/postgis 107 108 #If you have psql client or pgAdmin, you can connect to via local port 109 psql -h localhost -p 5432 110 111 # alternatively use the psql inside it 112 docker exec -it postgis-test psql -p 5432 -U postgres 113 101 114 }}} 102 115 === Development ===