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

docker run without environment variables fails. #11

Open
spameier opened this issue Apr 24, 2020 · 1 comment
Open

docker run without environment variables fails. #11

spameier opened this issue Apr 24, 2020 · 1 comment

Comments

@spameier
Copy link
Contributor

The following error appears when not setting any environment variables:

host:~$ sudo docker run -p 8000:8000 moul/icecast
HOSTNAME=0db942a3e23d
HOME=/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DEBIAN_FRONTEND=noninteractive
PWD=/
+ set_val source-password
+ [ -n  ]
+ echo ERROR: setting for 'source-password' is missing!
ERROR: setting for 'source-password' is missing!
+ exit

This is due to PR #5 where the functions exits instead of doing nothing when no environment var is set.

@EdwardEisenhauer
Copy link

I have the same problem, I would like to run an image with my own config file (via ADD ./icecast.xml /etc/icecast2).

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

2 participants