mirror of
				https://github.com/containers/podman.git
				synced 2025-10-30 17:38:27 +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>
		
			
				
	
	
	
		
			661 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			661 B
		
	
	
	
	
	
	
	
####> This option file is used in: ####> podman build, create, farm build, run ####> If file is edited, make sure the changes ####> are applicable to all of those.
--dns=ipaddr
Set custom DNS servers.
This option can be used to override the DNS configuration passed to the container. Typically this is necessary when the host DNS configuration is invalid for the container (e.g., 127.0.0.1). When this is the case the --dns flag is necessary for every run.
The special value none can be specified to disable creation of /etc/resolv.conf in the container by Podman. The /etc/resolv.conf file in the image is used without changes.