mirror of https://github.com/docker/docs.git
				
				
				
			Merge pull request #23299 from albers/completion-dockerd-path
fix bash completion for dockerd invoked with path
This commit is contained in:
		
						commit
						4b2b5214a4
					
				| 
						 | 
				
			
			@ -2319,7 +2319,7 @@ _docker() {
 | 
			
		|||
	done
 | 
			
		||||
 | 
			
		||||
	local binary="${words[0]}"
 | 
			
		||||
	if [[ $binary == dockerd ]] ; then
 | 
			
		||||
	if [[ $binary == ?(*/)dockerd ]] ; then
 | 
			
		||||
		# for the dockerd binary, we reuse completion of `docker daemon`.
 | 
			
		||||
		# dockerd does not have subcommands and global options.
 | 
			
		||||
		command=daemon
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue