Docker Community Forums

Share and learn in the Docker community.

Retrieving containerID from within windows docker containers

I am looking at a way to retrieve containerId from within a windows docker container similar to how its done for linux containers (using /proc/self/cgroup). Is there any mechanism or API to help with this?