trimstray / htrace.sh

My simple Swiss Army knife for http/https troubleshooting and profiling.
GNU General Public License v3.0
3.76k stars 235 forks source link

tput: No value for $TERM and no -T specified in Docker htrace #19

Closed guidtz closed 6 years ago

guidtz commented 6 years ago

Hello,

I build a container with the Docker file but when I try to run it docker run --rm htrace --domain https://domaine.com

I have the error : tput: No value for $TERM and no -T specified

Where is my mistake ?

Regards

trimstray commented 6 years ago

Hi! Please check this:

# Description:
#
#   This Dockerfile builds a static htrace.sh in a Docker container.
#
#   For build:
#     docker build --rm -t htrace.sh -f Dockerfile .
#
#   For init:
#     docker run --rm -it --name htrace.sh htrace.sh -d http://nmap.org -h
#
#   For debug:
#     docker exec -it htrace.sh /bin/bash
#     docker run --rm -it --entrypoint /bin/bash --name htrace.sh htrace.sh
guidtz commented 6 years ago

Ok it seems to work.

Thanks

andig commented 5 years ago

Same problem here. I've just used the build script provided in the repository- shouldn't this work as expected?