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

Can't run in a background docker container #38

Closed
freman opened this issue Jun 1, 2015 · 2 comments
Closed

Can't run in a background docker container #38

freman opened this issue Jun 1, 2015 · 2 comments
Labels

Comments

@freman
Copy link

freman commented Jun 1, 2015

Doesn't let me run it as a background docker container without passing TERM and hackery.

root@command:~# docker run -d -p 7080:80 redis-stat --style=ascii --no-color redis-slave.ladbrokes.net.au:6379 10
21a8c8e5fc9d8c9a2cb1d61d6b605dd31cebde0651164a2d22f1fffa41fd2bad
root@command:~# docker logs 21
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
== Sinatra/1.3.6 has taken the stage on 80 for production with backup from Thin
>> Thin web server (v1.5.1 codename Straight Razor)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:80, CTRL+C to stop
:screen_width must be a positive integer
@junegunn junegunn added the bug label Jun 1, 2015
@junegunn
Copy link
Owner

junegunn commented Jun 1, 2015

Thanks for the report. I'll release the next patch version and let you know.

@junegunn
Copy link
Owner

junegunn commented Jun 2, 2015

Released 0.4.12 with the fix.

jacket-code added a commit to jacket-code/redis-stat that referenced this issue Jun 17, 2015
Fix junegunn#38 - Handle tput command failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants