Hi Ashish,
I am not able to find any function like that, you are looking for action something like exec which can attach to container and execute a specific command.
I don't think we have that! Do you mind raising an idea for same to include this in action pack.
Regards,
Saurabh