docker top: fix command when multiple arguments are supplied

Closes #7808 

No tests, but I don't know if they're necessary for this case.