A minimal set of debugging tools so I can troubleshoot my running server.
The list of packages available in container is:
Pull container from DockerHub:
docker pull modularitycontainers/debugging-tools-base
For running the container, use command:
docker run -it --name NAME --privileged --ipc=host --net=host --pid=host -e HOST=/host -e NAME=NAME -e IMAGE=IMAGE -v /run:/run -v /var/log:/var/log -v /etc/machine-id:/etc/machine-id -v /etc/localtime:/etc/localtime -v /:/host debugging-tools-base
Write a Dockerfile:
FROM modularitycontainers/debugging-tool-base:latest
MAINTAINTER YOUR_NAME <email@adress.com>
RUN INSTALL_PKSG="<list of your tools for debugging> " && \
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
dnf -y clean all
CMD ["/usr/bin/bash"]