mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 01:50:50 +08:00 
			
		
		
		
	 d5507704e9
			
		
	
	d5507704e9
	
	
	
		
			
			Following feature makes sure that users can load contents of external tarball into the podman volumes. Signed-off-by: flouthoc <flouthoc.git@gmail.com>
		
			
				
	
	
		
			36 lines
		
	
	
		
			750 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			750 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| % podman-volume-import(1)
 | |
| 
 | |
| ## NAME
 | |
| podman\-volume\-import - Import tarball contents into a podman volume
 | |
| 
 | |
| ## SYNOPSIS
 | |
| **podman volume import** *volume* [*source*]
 | |
| 
 | |
| ## DESCRIPTION
 | |
| 
 | |
| **podman volume import** imports the contents of a tarball into the podman volume's mount point.
 | |
| **podman volume import** can consume piped input when using `-` as source path.
 | |
| 
 | |
| Note: Following command is not supported by podman-remote.
 | |
| 
 | |
| **podman volume import VOLUME [SOURCE]**
 | |
| 
 | |
| #### **--help**
 | |
| 
 | |
| Print usage statement
 | |
| 
 | |
| ## EXAMPLES
 | |
| 
 | |
| ```
 | |
| $ gunzip -c hellow.tar.gz | podman volume import myvol -
 | |
| ```
 | |
| ```
 | |
| $ podman volume import myvol test.tar
 | |
| ```
 | |
| ```
 | |
| $ podman volume export myvol | podman volume import oldmyvol -
 | |
| ```
 | |
| 
 | |
| ## SEE ALSO
 | |
| podman-volume(1), podman-volume-export(1)
 |