Skip to content

Commit 20e9652

Browse files
liam-englekantacuteenvyManagor
authored
importctl: new page (#16261)
Co-authored-by: Darío Hereñú <[email protected]> Co-authored-by: Lena <[email protected]> Co-authored-by: Managor <[email protected]>
1 parent ba58dbd commit 20e9652

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

pages/linux/importctl.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# importctl
2+
3+
> Download, Import, or Export disk images.
4+
> More information: <https://manned.org/importctl>.
5+
6+
- Download image in tarball format from a url via pull:
7+
8+
`sudo importctl pull-tar {{URL}} {{path/to/directory}}`
9+
10+
- Pull or download from a remote source that is either raw or qcow2 file, and stores it as a raw file:
11+
12+
`sudo importctl pull-raw {{https://example.com/source.ext}} {{name}} --class={{machine|portable|sysext|confext}}`
13+
14+
- Import a raw disk image into the image directory that is possibly compressed with xz, gzip, or bzip2:
15+
16+
`importctl import-raw {{path/to/file.ext}} {{name}} --class={{machine|portable|sysext|confext}}`
17+
18+
- Export a container image as tarball into current working directory:
19+
20+
`importctl export-tar --class={{machine|portable|sysext|confext}} {{name}} {{path/to/file.ext}}`

0 commit comments

Comments
 (0)