parameters: (self, pg_container, stream_log=True)
docstring: Run a Leosac container in detached mode.
          
          :param pg_container: An optional container object that will be --bind
           to the leosac container as the 'postgres' container.
docstring_summary: Run a Leosac container in detached mode.
          
          :param pg_container: An optional container object that will be --bind
           to the leosac container as the 'postgres' container.
docstring_tokens: Run a Leosac container in detached mode . : param pg_container : An optional container object that will be -- bind to the leosac container as the postgres container .
function: def run_detach(self, pg_container, stream_log=True):
          """
          Run a Leosac container in detached mode.
          
          :param pg_container: An optional container object that will be --bind
           to the leosac container as the 'postgres' container.
          """
          kw = {'volumes': {self.config_file_path: {
              'bind': '/leosac_config/config.xml',
              'mode': 'rw'}},
              'detach': True}
          if pg_container:
              kw['links'] = {pg_container.name: 'postgres'}
  
          kw['stream_log'] = stream_log
          self.do_run_detach('leosac_server', **kw)
function_tokens: def run_detach ( self , pg_container , stream_log = True ) : kw = { 'volumes' : { self . config_file_path : { 'bind' : '/leosac_config/config.xml' , 'mode' : 'rw' } } , 'detach' : True } if pg_container : kw [ 'links' ] = { pg_container . name : 'postgres' } kw [ 'stream_log' ] = stream_log self . do_run_detach ( 'leosac_server' , * * kw )