Open katerberg opened 9 years ago
Second this. Also happening to me.
+1
Confirmed:
% docker run --rm -ti -p 5432:5432 -e USER=cgeostatus -e DB=cgeostatus -e PASS=cgeostatus paintedfox/postgresql *** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 11
POSTGRES_USER=super
POSTGRES_PASS=cgeostatus
POSTGRES_DATA_DIR=/data
POSTGRES_DB=cgeostatus
@Painted-Fox
it's the same as issue #31. https://hub.docker.com/r/paintedfox/postgresql/builds/ shows it was last updated 2 years ago… latest commit here was 14 sept. 2014, it seems to be not maintained any longer :(
what I like about this image in opposite to the official image https://hub.docker.com/_/postgres/ is the use of an external volume for the data.
When I try to run the following:
docker run --name="foo" -e PASS="bar" foo
the default PASS is overridden with "bar" instead.
When I run the following:
docker run --name="foo" -e USER="bar" foo
the USER variable is still "super".
This is using ff19c5c53b9a.
Please let me know what other info would be helpful in reproducing!