Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
docker-py
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
docker-py
Commits
8ce1e248
Kaydet (Commit)
8ce1e248
authored
Ock 05, 2015
tarafından
Sam Thursfield
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
docs: Add specific import_image() variants
üst
2f3b87a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
api.md
docs/api.md
+42
-0
No files found.
docs/api.md
Dosyayı görüntüle @
8ce1e248
...
...
@@ -314,6 +314,48 @@ the name of an existing image to import from.
*
tag (str): The tag to apply
*
image (str): Use another image like the
`FROM`
Dockerfile parameter
## import_image_from_data
Like
`.import_image()`
, but allows importing in-memory bytes data.
**Params**
:
*
data (bytes collection): Bytes collection containing valid tar data
*
repository (str): The repository to create
*
tag (str): The tag to apply
## import_image_from_file
Like
`.import_image()`
, but only supports importing from a tar file on
disk. If the file doesn't exist it will raise
`IOError`
.
**Params**
:
*
filename (str): Full path to a tar file.
*
repository (str): The repository to create
*
tag (str): The tag to apply
## import_image_from_url
Like
`.import_image()`
, but only supports importing from a URL.
**Params**
:
*
url (str): A URL pointing to a tar file.
*
repository (str): The repository to create
*
tag (str): The tag to apply
## import_image_from_image
Like
`.import_image()`
, but only supports importing from another image,
like the
`FROM`
Dockerfile parameter.
**Params**
:
*
image (str): Image name to import from
*
repository (str): The repository to create
*
tag (str): The tag to apply
## info
Display system-wide information. Identical to the
`docker info`
command.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment