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
0287cd9f
Unverified
Kaydet (Commit)
0287cd9f
authored
May 01, 2019
tarafından
Joffrey F
Kaydeden (comit)
GitHub
May 01, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge pull request #2309 from thaJeztah/remove_init_path_create
Remove init_path from create
üst
41e1c054
50d47579
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
container.py
docker/api/container.py
+0
-1
api_container_test.py
tests/integration/api_container_test.py
+0
-13
No files found.
docker/api/container.py
Dosyayı görüntüle @
0287cd9f
...
@@ -487,7 +487,6 @@ class ContainerApiMixin(object):
...
@@ -487,7 +487,6 @@ class ContainerApiMixin(object):
IDs that the container process will run as.
IDs that the container process will run as.
init (bool): Run an init inside the container that forwards
init (bool): Run an init inside the container that forwards
signals and reaps processes
signals and reaps processes
init_path (str): Path to the docker-init binary
ipc_mode (str): Set the IPC mode for the container.
ipc_mode (str): Set the IPC mode for the container.
isolation (str): Isolation technology to use. Default: ``None``.
isolation (str): Isolation technology to use. Default: ``None``.
links (dict): Mapping of links using the
links (dict): Mapping of links using the
...
...
tests/integration/api_container_test.py
Dosyayı görüntüle @
0287cd9f
...
@@ -448,19 +448,6 @@ class CreateContainerTest(BaseAPIIntegrationTest):
...
@@ -448,19 +448,6 @@ class CreateContainerTest(BaseAPIIntegrationTest):
config
=
self
.
client
.
inspect_container
(
ctnr
)
config
=
self
.
client
.
inspect_container
(
ctnr
)
assert
config
[
'HostConfig'
][
'Init'
]
is
True
assert
config
[
'HostConfig'
][
'Init'
]
is
True
@pytest.mark.xfail
(
True
,
reason
=
'init-path removed in 17.05.0'
)
@requires_api_version
(
'1.25'
)
def
test_create_with_init_path
(
self
):
ctnr
=
self
.
client
.
create_container
(
BUSYBOX
,
'true'
,
host_config
=
self
.
client
.
create_host_config
(
init_path
=
"/usr/libexec/docker-init"
)
)
self
.
tmp_containers
.
append
(
ctnr
[
'Id'
])
config
=
self
.
client
.
inspect_container
(
ctnr
)
assert
config
[
'HostConfig'
][
'InitPath'
]
==
"/usr/libexec/docker-init"
@requires_api_version
(
'1.24'
)
@requires_api_version
(
'1.24'
)
@pytest.mark.xfail
(
not
os
.
path
.
exists
(
'/sys/fs/cgroup/cpu.rt_runtime_us'
),
@pytest.mark.xfail
(
not
os
.
path
.
exists
(
'/sys/fs/cgroup/cpu.rt_runtime_us'
),
reason
=
'CONFIG_RT_GROUP_SCHED isn
\'
t enabled'
)
reason
=
'CONFIG_RT_GROUP_SCHED isn
\'
t enabled'
)
...
...
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