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
e1774c4c
Kaydet (Commit)
e1774c4c
authored
Agu 05, 2016
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Reference swarm methods in api.md file.
Signed-off-by:
Joffrey F
<
joffrey@docker.com
>
üst
0f70b6a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
api.md
docs/api.md
+25
-0
No files found.
docs/api.md
Dosyayı görüntüle @
e1774c4c
...
...
@@ -606,6 +606,11 @@ Display system-wide information. Identical to the `docker info` command.
'SwapLimit': 1}
```
## init_swarm
Initialize a new Swarm using the current connected engine as the first node.
See the
[
Swarm documentation
](
swarm.md#clientinit_swarm
)
.
## insert
*DEPRECATED*
...
...
@@ -641,6 +646,11 @@ Retrieve network info by id.
**Returns**
(dict): Network information dictionary
## inspect_swarm
Retrieve information about the current Swarm.
See the
[
Swarm documentation
](
swarm.md#clientinspect_swarm
)
.
## inspect_volume
Retrieve volume info by name.
...
...
@@ -656,6 +666,11 @@ Retrieve volume info by name.
{
u'Mountpoint'
:
u'/var/lib/docker/volumes/foobar/_data'
,
u'Driver'
:
u'local'
,
u'Name'
:
u'foobar'
}
```
## join_swarm
Join an existing Swarm.
See the
[
Swarm documentation
](
swarm.md#clientjoin_swarm
)
.
## kill
Kill a container or send a signal to a container.
...
...
@@ -665,6 +680,11 @@ Kill a container or send a signal to a container.
*
container (str): The container to kill
*
signal (str or int): The signal to send. Defaults to
`SIGKILL`
## leave_swarm
Leave the current Swarm.
See the
[
Swarm documentation
](
swarm.md#clientleave_swarm
)
.
## load_image
Load an image that was previously saved using
`Client.get_image`
...
...
@@ -1054,6 +1074,11 @@ Update resource configs of one or more containers.
**Returns**
(dict): Dictionary containing a
`Warnings`
key.
## update_swarm
Update the current Swarm.
See the
[
Swarm documentation
](
swarm.md#clientupdate_swarm
)
.
## version
Nearly identical to the
`docker version`
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