docker-postgresql icon indicating copy to clipboard operation
docker-postgresql copied to clipboard

USER input variable ignored

Open katerberg opened this issue 9 years ago • 4 comments

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!

katerberg avatar May 15 '15 21:05 katerberg

Second this. Also happening to me.

ribeiroct avatar May 24 '15 17:05 ribeiroct

+1

fonk avatar Sep 14 '15 18:09 fonk

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

samueltardieu avatar Mar 23 '16 10:03 samueltardieu

@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.

chymian avatar May 11 '16 07:05 chymian