Skip to content

[Issue] mytop not working inside the container #695

Description

@the-hotmann

How to reproduce:

  1. run the Image mariadb:12.3
  2. exec into the container: docker exec -it <container_id> bash
  3. call mytop
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions