Giter Site home page Giter Site logo

jonathadv / docker-admin-toolkit Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 2.0 12 KB

Administration and troubleshooting tools inside a docker container

License: MIT License

Dockerfile 100.00%
docker-image docker troubleshooting tookit root backdoor bash dig nslookup curl

docker-admin-toolkit's Introduction

Docker System Admin and Troubleshooting Toolkit

Docker Build Automated Docker Build Status Docker Pulls

This project focus on providing system administration and troubleshooting tools without the need of installing them in the host system.

Tools

  • bash - GNU Bourne-Again SHell.
  • bind-tools - The ISC DNS tools (dig, nslookup, host).
  • curl - Tool to transfer data from or to a server.
  • htop - A ncurses-based process viewer for Linux. (built from source, allows to watch the host's processes)
  • iotop - Simple top-like I/O monitor.
  • iptraf-ng - An IP Network Monitoring tool.
  • jq - Commandline JSON processor.
  • nano - Text Editor. GNU nano is designed to be a free replacement for the Pico text editor.
  • netcat - Utility which reads and writes data across network connections using TCP or UDP protocol.
  • net-tools - Includes network tools such as arp, ifconfig, netstat, rarp, nameif and route.
  • nmap - The Network Mapper - Free Security Scanner
  • openssh-client - OpenSSH SSH client.
  • python 3 - An interpreted, interactive, object-oriented programming language.
  • sysstat - System performance tools for the Linux operating system.
  • tcpdump - Dump traffic on a network.
  • tshark - network protoccol analyzer - console version.
  • vim - Vi IMproved, a programmers text editor.

Running the container

Use --net=host allows tcpdump to access the host's network interfaces.

Use -v /proc:/proc_host allows htop to watch the host's processes. Note that htop is unable to kill any host's processes.

Optionally you can create a local directory and map it to the container like -v /tmp/data/:/tmp/data/:

mkdir /tmp/data

docker run \
    --rm \
    --name toolkit \
    --net=host \
    -v /proc:/proc_host \
    -v /tmp/data/:/tmp/data/ \
    -it \
    jonathadv/admin-toolkit \
    bash

docker-admin-toolkit's People

Contributors

jonathadv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

karunix cgars

docker-admin-toolkit's Issues

Make `top` to see host process

Despite of the fact the top inside a container is able to display CPU and memory real information, it still lacks the real process tree information. This issue is to try figure out how to make top inside a container to see all host process.

Install iotop

"iotop is a top-like utility that monitors system input/output" [Gentoo Wiki] and it would be a good tool to add to this project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.