dockactions:  Define dock_command for general mode

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>