Closed year112 closed 2 years ago
when i create db name "gis-server" and config with docker-compose volumes /data/gisdata:/var/lib/postgressql ,exec docker restart the container, some problems in logs ERROR: databases "gis" already exists i can not restart the docker container when i rename db "gis-server" to "dbserver" ,it's restart fine.
What version are you running and if the problem is specific to the database please report it https://github.com/kartoza/docker-postgis so that you can get helped
the image version is kartoza/postgis:9.6-2.4
the image version is kartoza/postgis:9.6-2.4
I am afraid that 9.6.2 version reached end of life and is no longer supported. There have been a lot of changes which are in the new version but haven't been backported to that image. Maybe try building it yourself using https://github.com/kartoza/docker-postgis/pull/311
when i create db name "gis-server" and config with docker-compose volumes /data/gisdata:/var/lib/postgressql ,exec docker restart the container, some problems in logs ERROR: databases "gis" already exists i can not restart the docker container when i rename db "gis-server" to "dbserver" ,it's restart fine.