@classmethod<EOL><INDENT>def docker(klass, container_id, shell, script, interval, deregister=None):<DEDENT>
ret = {<EOL>'<STR_LIT>': container_id,<EOL>'<STR_LIT>': shell,<EOL>'<STR_LIT>': script,<EOL>'<STR_LIT>': interval<EOL>}<EOL>if deregister:<EOL><INDENT>ret['<STR_LIT>'] = deregister<EOL><DEDENT>return ret<EOL>
Invoke *script* packaged within a running docker container with
*container_id* at a specified *interval* on the configured
*shell* using the Docker Exec API.  Optional *register* after which a
failing service will be automatically deregistered.