Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USER input variable ignored #42

Open
katerberg opened this issue May 15, 2015 · 4 comments
Open

USER input variable ignored #42

katerberg opened this issue May 15, 2015 · 4 comments

Comments

@katerberg
Copy link

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!

@ribeiroct
Copy link

Second this. Also happening to me.

@fonk
Copy link

fonk commented Sep 14, 2015

+1

@samueltardieu
Copy link

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

@chymian
Copy link

chymian commented May 11, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants