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
e8c9e6e3
Kaydet (Commit)
e8c9e6e3
authored
Ara 15, 2014
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added forcerm param in Client.build
üst
73b15be0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
client.py
docker/client.py
+3
-1
api.md
docs/api.md
+1
-0
No files found.
docker/client.py
Dosyayı görüntüle @
e8c9e6e3
...
...
@@ -408,7 +408,8 @@ class Client(requests.Session):
def
build
(
self
,
path
=
None
,
tag
=
None
,
quiet
=
False
,
fileobj
=
None
,
nocache
=
False
,
rm
=
False
,
stream
=
False
,
timeout
=
None
,
custom_context
=
False
,
encoding
=
None
,
pull
=
True
):
custom_context
=
False
,
encoding
=
None
,
pull
=
True
,
forcerm
=
False
):
remote
=
context
=
headers
=
None
if
path
is
None
and
fileobj
is
None
:
raise
TypeError
(
"Either path or fileobj needs to be provided."
)
...
...
@@ -442,6 +443,7 @@ class Client(requests.Session):
'q'
:
quiet
,
'nocache'
:
nocache
,
'rm'
:
rm
,
'forcerm'
:
forcerm
,
'pull'
:
pull
}
...
...
docs/api.md
Dosyayı görüntüle @
e8c9e6e3
...
...
@@ -59,6 +59,7 @@ build output as it happens
*
custom_context (bool): Optional if using
`fileobj`
*
encoding (str): The encoding for a stream. Set to
`gzip`
for compressing
*
pull (bool): Downloads any updates to the FROM image in Dockerfiles
*
forcerm (bool): Always remove intermediate containers, even after unsuccessful builds
**Returns**
(generator): A generator of the build output
...
...
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