January-23rd-2019, 03:06 PM
Hello,
this ID you are referencing is the serial number of the BCM CPU chip.
The chip's serial number and other informations like the MAC address are stored into the CPU's One-Time Programmable (OTP) memory block at the time the chips were produced.
So it is not the ID of the container it is a unique ID of your specific netPI CORE 3 hardware.
Getting the outside ID of the container in an application that runs within the containers works with this command for example:
this ID you are referencing is the serial number of the BCM CPU chip.
The chip's serial number and other informations like the MAC address are stored into the CPU's One-Time Programmable (OTP) memory block at the time the chips were produced.
So it is not the ID of the container it is a unique ID of your specific netPI CORE 3 hardware.
Getting the outside ID of the container in an application that runs within the containers works with this command for example:
Code:
head -1 /proc/self/cgroup|cut -d/ -f3
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)