mirror of https://github.com/containers/podman.git
				
				
				
			
		
			
				
	
	
		
			22 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Markdown
		
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Markdown
		
	
	
	
| ####> This option file is used in:
 | |
| ####>   podman create, run
 | |
| ####> If you edit this file, make sure your changes
 | |
| ####> are applicable to all of those.
 | |
| #### **--entrypoint**=*"command"* | *'["command", "arg1", ...]'*
 | |
| 
 | |
| Overwrite the default ENTRYPOINT of the image.
 | |
| 
 | |
| This option allows you to overwrite the default entrypoint of the image.
 | |
| 
 | |
| The ENTRYPOINT of an image is similar to a COMMAND
 | |
| because it specifies what executable to run when the container starts, but it is
 | |
| (purposely) more difficult to override. The ENTRYPOINT gives a container its
 | |
| default nature or behavior, so that when you set an ENTRYPOINT you can run the
 | |
| container as if it were that binary, complete with default options, and you can
 | |
| pass in more options via the COMMAND. But, sometimes an operator may want to run
 | |
| something else inside the container, so you can override the default ENTRYPOINT
 | |
| at runtime by using a **--entrypoint** and a string to specify the new
 | |
| ENTRYPOINT.
 | |
| 
 | |
| You need to specify multi option commands in the form of a json string.
 |