ptop icon indicating copy to clipboard operation
ptop copied to clipboard

Memory and CPU charts are not loaded when run in docker

Open darxtrix opened this issue 8 years ago • 2 comments

Just booted a docker container and installed ptop in it, can't see cpu and memory charts.

darxtrix avatar Jul 12 '17 13:07 darxtrix

@darxtrix The reason for this is that the bash shell inside the docker container is encoding the characters by ASCII. We are using UTF-8 characters to show CPU and memory usage. We can resolve this by changing the character encoding inside the docker container's bash shell.

LC_ALL=C.UTF-8 bash

Use the above code in docker container's bash to resolve the issue

Gowtham1729 avatar Sep 26 '19 14:09 Gowtham1729

Thanks Gowtham for digging this out. I will check this out and let you know the update.

Cheers !

darxtrix avatar Oct 03 '19 09:10 darxtrix