How to reproduce:
- run the Image
mariadb:12.3
- exec into the container:
docker exec -it <container_id> bash
- call
mytop
- encounter error:
/# mytop
Can't locate Term/ReadKey.pm in @INC (you may need to install the Term::ReadKey module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at /usr/bin/mytop line 208.
Seems like this would fix it, but including it in the Image would be nice:
apt-get update && apt-get install -y libterm-readkey-perl
How to reproduce:
mariadb:12.3docker exec -it <container_id> bashmytopSeems like this would fix it, but including it in the Image would be nice: