code: def make_vol_opt(hostdir, contdir, options=None):
      '''Generate a docker volume option'''
      vol = '--volume={}:{}'.format(hostdir, contdir)
      if options != None:
          if isinstance(options, str):
              options = (options,)
          vol += ':' + ','.join(options)
      return vof make_vol_opt(hostdir, contdir, options=None):
      '''Generate a docker volume option'''
      vol = '--volume={}:{}'.format(hostdir, contdir)
      if options != None:
          if isinstance(options, str):
              options = (options,)
          vol += ':' + ','.join(options)
      return vol
docs: Generate a docker volume option