Answers for "get docker container version from inside container"

0

get docker container version from inside container

cat /proc/self/cgroup | grep -o  -e "docker-.*.scope" | head -n 1 | sed "s/docker-\(.*\).scope/\\1/"
Posted by: Guest on November-17-2020

Code answers related to "get docker container version from inside container"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language