4 lines
146 B
Text
Executable file
4 lines
146 B
Text
Executable file
docker run -it $1 /bin/sh -c "cat /etc/os-release" > /tmp/container-os.tmp 2> /dev/null
|
|
. /tmp/container-os.tmp
|
|
echo $ID
|
|
rm /tmp/container-os.tmp
|