Giter Site home page Giter Site logo

Comments (4)

timlinux avatar timlinux commented on July 17, 2024

In the current version docker:docker should be the correct user / password combination:

timlinux@channel:~/dev/docker/docker-postgis$ docker run --name="pg-test" -d -i kartoza/postgis
8edea763ffbaa71b8a087a59e2dba10a2ce6cbfa29cba487d4c115ae3323c987
timlinux@channel:~/dev/docker/docker-postgis$ dipall | grep pg-test
pg-test : 172.17.0.97
timlinux@channel:~/dev/docker/docker-postgis$ psql -l -h 172.17.0.97 -U docker
Password for user docker: 
                                 List of databases
       Name       |  Owner   | Encoding  | Collate | Ctype |   Access privileges   
------------------+----------+-----------+---------+-------+-----------------------
 postgres         | postgres | SQL_ASCII | C       | C     | 
 template0        | postgres | SQL_ASCII | C       | C     | =c/postgres          +
                  |          |           |         |       | postgres=CTc/postgres
 template1        | postgres | SQL_ASCII | C       | C     | =c/postgres          +
                  |          |           |         |       | postgres=CTc/postgres
 template_postgis | postgres | UTF8      | C       | C     | 
(4 rows)

from docker-postgis.

timlinux avatar timlinux commented on July 17, 2024

By the way the readme.md is currently reflecting docker:docker too.

from docker-postgis.

anentropic avatar anentropic commented on July 17, 2024

yes it should be docker:docker

but it seems like USERNAME env var is somehow set to postgres when the start-postgres.sh script runs (if no specific user/pass supplied)... at least on my system

it appeared to me that there was maybe a name collision of USERNAME var from something outside the shell script, because when I changed the var name in #9 the problem went away

from docker-postgis.

timlinux avatar timlinux commented on July 17, 2024

This should be fixed with your PR applied from #14 - thanks. Note that the hub image is still not building - there seems to be some issue on hub itself since the builds are working here locally. I am going to close out this issue for now. Thanks!

from docker-postgis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.