mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 10:00:01 +08:00 
			
		
		
		
	 ad55ba6eb2
			
		
	
	ad55ba6eb2
	
	
	
		
			
			Rootless users should be defaulted to point DOCKER_HOST at $XDG_RUNTIME_DIR/podman/podman.sock When podman-docker package is installed. [NO NEW TESTS NEEDED] Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			260 B
		
	
	
	
		
			Tcsh
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			260 B
		
	
	
	
		
			Tcsh
		
	
	
	
	
	
| # DOCKER_HOST initialization
 | |
| 
 | |
| if ($?DOCKER_HOST) exit
 | |
| if ( "$euid" == 0 ) then
 | |
|         setenv DOCKER_HOST unix:///run/podman/podman.sock
 | |
| else
 | |
|     if ($?XDG_RUNTIME_DIR) then
 | |
|         setenv DOCKER_HOST unix://$XDG_RUNTIME_DIR/podman/podman.sock
 | |
|     endif
 | |
| endif
 |