polish cgo path, introduce {Active|Defined}Containers