code: def mount_path(source, target, bind=False):
          
          cmd = ['mount']
          if bind:
              cmd.append('--bind')
          cmd.append(source)
          cmd.append(target)
          r = util.subp(cmd)
          if r.return_code != 0:
              raise MountError('Could not mount docker container:\n' +
                               ' '.join(cmd) + '\n%s' %
                               r.stderr.decode(sys.getdefaultencoding()))
docs: Subprocess call to mount dev at path.