Docker commandline utility does not honour the TERM environment variable #26911
Labels
area/cli
kind/enhancement
Enhancements are not bugs or new features but can improve usability or performance.
version/1.12
Description
When running the docker command (for example
docker push
), the tool sometimes uses various terminal features such as colours. These seems to be written to the terminal as raw vt102 (or "ANSI" codes) sequences rather than using the terminfo library.This results in garbage output on terminals which do not support vt102.
Steps to reproduce the issue:
One common terminal that does not support these codes is the shell mode in Emacs, so it's a good place to reproduce the issue.
M-x shell
docker push
You will now get a long list of lines that looks like this:
Output of
docker version
:Output of
docker info
:The text was updated successfully, but these errors were encountered: