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
2161ee11
Kaydet (Commit)
2161ee11
authored
Mar 01, 2017
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Docstring fixes for init and init_path
Signed-off-by:
Joffrey F
<
joffrey@docker.com
>
üst
8ea6ecc0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
container.py
docker/api/container.py
+3
-0
containers.py
docker/models/containers.py
+1
-1
containers.py
docker/types/containers.py
+2
-2
No files found.
docker/api/container.py
Dosyayı görüntüle @
2161ee11
...
...
@@ -498,6 +498,9 @@ class ContainerApiMixin(object):
container, as a mapping of hostname to IP address.
group_add (:py:class:`list`): List of additional group names and/or
IDs that the container process will run as.
init (bool): Run an init inside the container that forwards
signals and reaps processes
init_path (str): Path to the docker-init binary
ipc_mode (str): Set the IPC mode for the container.
isolation (str): Isolation technology to use. Default: `None`.
links (dict or list of tuples): Either a dictionary mapping name
...
...
docker/models/containers.py
Dosyayı görüntüle @
2161ee11
...
...
@@ -493,7 +493,7 @@ class ContainerCollection(Collection):
hostname (str): Optional hostname for the container.
init (bool): Run an init inside the container that forwards
signals and reaps processes
init_path (
bool
): Path to the docker-init binary
init_path (
str
): Path to the docker-init binary
ipc_mode (str): Set the IPC mode for the container.
isolation (str): Isolation technology to use. Default: `None`.
labels (dict or list): A dictionary of name-value labels (e.g.
...
...
docker/types/containers.py
Dosyayı görüntüle @
2161ee11
...
...
@@ -423,9 +423,9 @@ class HostConfig(dict):
raise
host_config_version_error
(
'init'
,
'1.25'
)
self
[
'Init'
]
=
init
if
init_path
:
if
init_path
is
not
None
:
if
version_lt
(
version
,
'1.25'
):
raise
host_config_version_error
(
'init'
,
'1.25'
)
raise
host_config_version_error
(
'init
_path
'
,
'1.25'
)
self
[
'InitPath'
]
=
init_path
...
...
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