mirror of
				https://github.com/containers/podman.git
				synced 2025-11-01 02:42:11 +08:00 
			
		
		
		
	 414642efdb
			
		
	
	414642efdb
	
	
	
		
			
			Move the options for the podman build doc to a common md that can be used by both podman build and podman farm build. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
		
			
				
	
	
		
			10 lines
		
	
	
		
			462 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			462 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ####> This option file is used in:
 | |
| ####>   podman build, create, farm build, kube play, pod create, run
 | |
| ####> If file is edited, make sure the changes
 | |
| ####> are applicable to all of those.
 | |
| #### **--no-hosts**
 | |
| 
 | |
| Do not create _/etc/hosts_ for the <<container|pod>>.
 | |
| By default, Podman manages _/etc/hosts_, adding the container's own IP address and any hosts from **--add-host**.
 | |
| **--no-hosts** disables this, and the image's _/etc/hosts_ is preserved unmodified.
 |