mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 01:50:50 +08:00 
			
		
		
		
	 f6b2a13781
			
		
	
	f6b2a13781
	
	
	
		
			
			Followup to #20051, which I didn't review in time. Signed-off-by: Ed Santiago <santiago@redhat.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			400 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			400 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ####> This option file is used in:
 | |
| ####>   podman build, create, farm build, pod create, run
 | |
| ####> If file is edited, make sure the changes
 | |
| ####> are applicable to all of those.
 | |
| #### **--add-host**=*host:ip*
 | |
| 
 | |
| Add a custom host-to-IP mapping (host:ip)
 | |
| 
 | |
| Add a line to /etc/hosts. The format is hostname:ip. The **--add-host**
 | |
| option can be set multiple times. Conflicts with the **--no-hosts** option.
 |