Changes between Version 30 and Version 31 of DevWikiDockerTesting


Ignore:
Timestamp:
01/30/23 20:03:55 (21 months ago)
Author:
robe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiDockerTesting

    v30 v31  
    9595* **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]
    9696
     97The 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.
    9798
    9899{{{
    99100docker pull postgis/postgis:latest
    100101docker run --name postgis-test -e POSTGRES_PASSWORD=mysecretpassword -d postgis/postgis
     102docker 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
     109psql -h localhost -p 5432
     110
     111# alternatively use the psql inside it
     112docker exec -it postgis-test psql -p 5432 -U postgres
     113
    101114}}}
    102115=== Development ===