|
@@ -12,8 +12,9 @@
|
|
|
|
|
|
Create a new filesystem image from the contents of a tarball
|
|
Create a new filesystem image from the contents of a tarball
|
|
|
|
|
|
-At this time, the URL must start with ``http`` and point to a single file archive (.tar, .tar.gz, .bzip)
|
|
|
|
-containing a root filesystem. If you would like to import from a local directory or archive,
|
|
|
|
|
|
+At this time, the URL must start with ``http`` and point to a single file archive
|
|
|
|
+(.tar, .tar.gz, .tgz, .bzip, .tar.xz, .txz)
|
|
|
|
+containing a root filesystem. If you would like to import from a local directory or archive,
|
|
you can use the ``-`` parameter to take the data from standard in.
|
|
you can use the ``-`` parameter to take the data from standard in.
|
|
|
|
|
|
Examples
|
|
Examples
|
|
@@ -30,7 +31,7 @@ Import from a local file
|
|
Import to docker via pipe and standard in
|
|
Import to docker via pipe and standard in
|
|
|
|
|
|
``$ cat exampleimage.tgz | docker import - exampleimagelocal``
|
|
``$ cat exampleimage.tgz | docker import - exampleimagelocal``
|
|
-
|
|
|
|
|
|
+
|
|
Import from a local directory
|
|
Import from a local directory
|
|
.............................
|
|
.............................
|
|
|
|
|