5 lines
146 B
Plaintext
5 lines
146 B
Plaintext
|
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
|