-
-
Save 7error/9914f989b74785fe6e5a5665ab68fb9c to your computer and use it in GitHub Desktop.
Revisions
-
nmarley created this gist
Dec 8, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ bash-4.3# cat /proc/1/cpuset /docker/13f8c221656e202db979d1e607c9c902282d8719ab70715978dd04ee6069d61e bash-4.3# DOCKER_CID=$(cat /proc/1/cpuset | cut -c9-) bash-4.3# echo $DOCKER_CID 13f8c221656e202db979d1e607c9c902282d8719ab70715978dd04ee6069d61e