lib/docker.js
function getDockerUid(bindPath) {
  const options = [
    'run',
    '--rm',
    '-v',
    `${bindPath}:/test`,
    'alpine',
    'stat',
    '-c',
    '%u',
    '/bin/sh'
  ];
  const ps = dockerCommand(options);
  return ps.stdout.trim();
}
function getDockerUid(bindPath) {
  const options = [
    'run',
    '--rm',
    '-v',
    `${bindPath}:/test`,
    'alpine',
    'stat',
    '-c',
    '%u',
    '/bin/sh'
  ];
  const ps = dockerCommand(options);
  return ps.stdout.trim();
}
function getDockerUid ( bindPath ) { const options = [ 'run' , '--rm' , '-v' , ` ${ bindPath } ` , 'alpine' , 'stat' , '-c' , '%u' , '/bin/sh' ] ; const ps = dockerCommand ( options ) ; return ps . stdout . trim ( ) ; }
Find out what uid the docker machine is using
@param {string} bindPath
@return {boolean}
Find out what uid the docker machine is using