Skip to content

timmackinnon/container-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This repository contains a simple script that can introspect the running in-container Operating System version.

The output will look something like:

<container A> is running <os B>
<container C> is running <os D>
...

To look for non-standard OSs:

./os_in_container.sh >> os.log
cat os.log | grep rogue

To do some fun OS variant counting for containers, you can try:

./os_in_container.sh >> os.log
cat os.log | cut -d' ' -f4- | sort | uniq -c

About

A simple shell script to introspect the in-container operating system of all running Docker containers

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages