ChildProcess like interface for docker containers