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
531fdc77
Kaydet (Commit)
531fdc77
authored
Eki 05, 2016
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge branch 'api-docs-update'
üst
f5220360
b22e390e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
27 deletions
+23
-27
api.md
docs/api.md
+23
-27
No files found.
docs/api.md
Dosyayı görüntüle @
531fdc77
...
...
@@ -19,33 +19,6 @@ is hosted.
*
user_agent (str): Set a custom user agent for requests to the server.
## Version mismatch
You may encounter an error like this:
```
text
client is newer than server (client API version: 1.24, server API version: 1.23)
```
To fix this, you have to either supply exact version to
`Client`
which you know that server supports:
```
python
client
=
docker
.
Client
(
version
=
"1.23"
)
```
or let client pick the newest version server supports:
```
python
client
=
docker
.
Client
(
version
=
"auto"
)
```
or even
```
python
client
=
docker
.
AutoVersionClient
()
```
****
## attach
...
...
@@ -1231,3 +1204,26 @@ TODO:
*
load_image
-->
****
## Version mismatch
You may encounter an error like this:
```
text
client is newer than server (client API version: 1.24, server API version: 1.23)
```
To fix this, you have to either supply the exact version your server supports
when instantiating the
`Client`
:
```
python
client
=
docker
.
Client
(
version
=
"1.23"
)
```
or let the client automatically detect the newest version server supports:
```
python
client
=
docker
.
Client
(
version
=
"auto"
)
```
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