Skip to content

Include a bash script to gather network configurations #6

@mtarsel

Description

@mtarsel

I'm working on a script to gather general configurations such as ARP tables, netstat output, and device statistics. I thought I would start a discussion here first before I open a PR.

Once this image is pulled, run the bash script which saves helpful network info into a file in a directory. The bash script would be a separate file in this repo that is executed from the Dockerfile. The output from all the various commands will then be saved to a single file with some simple formatting. This output file can then be shared or uploaded in order to help with debug - almost like a "network snapshot". Since we know which packages will be installed in the image, there shouldn't be much error handling needed.

I'm currently working on the script for my own personal use however I think this would be a very helpful addition to this image.

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