MatthewKing / DeviceId

A simple library providing functionality to generate a 'device ID' that can be used to uniquely identify a computer.
MIT License
722 stars 118 forks source link

add DockerContainerIdComponent #47

Closed AlexSchuetz closed 2 years ago

AlexSchuetz commented 2 years ago

resolves #26

AlexSchuetz commented 2 years ago

The only special information available by default in docker seems to be a container-id extracted from '/proc/1/cgroup'.

Informations to build the new Component were gathered from Baeldung and Stackoverflow.