-
Notifications
You must be signed in to change notification settings - Fork 162
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
Issue with default command? #1
Comments
I'm +1 on fixing this, but I'm not sure
Isn't running haproxy single-threaded a bit of a problem? |
Check your haproxy.cfg for When I removed |
That's it. Well spotted. Thanks @calh |
hah! tried to improve the documentation: docker-library/docs#248 |
I'm running Docker 1.5 and haproxy:1.5
As a user pointed out on the Docker hub page, I had to override the command with
haproxy -db -f /usr/local/etc/haproxy/haproxy.cfg
to run the container.With the default command (
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]
), the container exits with no logs.Apparently, the
-db
option allows haproxy to run in foreground: http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#3.1The text was updated successfully, but these errors were encountered: