junegunn / redis-stat

(UNMAINTAINED) A real-time Redis monitoring tool
MIT License
2.02k stars 339 forks source link

Can't run in a background docker container #38

Closed freman closed 9 years ago

freman commented 9 years ago

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 commented 9 years ago

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

junegunn commented 9 years ago

Released 0.4.12 with the fix.