Add sweep container command.

Add checkDevice flag to remove container command.