mirror of
				https://github.com/docker/setup-buildx-action.git
				synced 2025-11-04 06:34:19 +08:00 
			
		
		
		
	* add container based dev flow Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> * Fix yarn test for container based dev flow Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> * Update contributing guidelines and test workflow Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
		
			
				
	
	
		
			8 lines
		
	
	
		
			252 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			252 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import * as exec from './exec';
 | 
						|
 | 
						|
export async function isDaemonRunning(): Promise<boolean> {
 | 
						|
  return await exec.exec(`docker`, ['version', '--format', '{{.Server.Os}}'], true).then(res => {
 | 
						|
    return !res.stdout.includes(' ') && res.success;
 | 
						|
  });
 | 
						|
}
 |