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
bf077ace
Kaydet (Commit)
bf077ace
authored
Kas 14, 2014
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed trailing whitespace in docs
üst
8df3a3f5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
11 deletions
+10
-11
api.md
docs/api.md
+0
-0
contributing.md
docs/contributing.md
+3
-3
index.md
docs/index.md
+1
-2
port-bindings.md
docs/port-bindings.md
+2
-2
tls.md
docs/tls.md
+2
-2
volumes.md
docs/volumes.md
+2
-2
No files found.
docs/api.md
Dosyayı görüntüle @
bf077ace
This diff is collapsed.
Click to expand it.
docs/contributing.md
Dosyayı görüntüle @
bf077ace
# Contributing
# Contributing
See the
[
Docker contributing guidelines
](
https://github.com/docker/docker/blob/master/CONTRIBUTING.md
)
.
See the
[
Docker contributing guidelines
](
https://github.com/docker/docker/blob/master/CONTRIBUTING.md
)
.
The following is specific to docker-py.
The following is specific to docker-py.
## Running the tests & Code Quality
## Running the tests & Code Quality
...
@@ -14,7 +14,7 @@ $ tox
...
@@ -14,7 +14,7 @@ $ tox
```
```
## Building the docs
## Building the docs
Docs are built with
[
MkDocs
](
http://www.mkdocs.org/
)
. For development, you can
Docs are built with
[
MkDocs
](
http://www.mkdocs.org/
)
. For development, you can
run the following in the project directory:
run the following in the project directory:
```
```
$ pip install -r docs-requirements.txt
$ pip install -r docs-requirements.txt
...
@@ -32,5 +32,5 @@ Before a new release, please go through the following checklist:
...
@@ -32,5 +32,5 @@ Before a new release, please go through the following checklist:
## Vulnerability Reporting
## Vulnerability Reporting
For any security issues, please do NOT file an issue or pull request on github!
For any security issues, please do NOT file an issue or pull request on github!
Please contact
[
security@docker.com
](
mailto:security@docker.com
)
or read
[
the
Please contact
[
security@docker.com
](
mailto:security@docker.com
)
or read
[
the
Docker security page](https://www.docker.com/resources/security/).
Docker security page](https://www.docker.com/resources/security/).
docs/index.md
Dosyayı görüntüle @
bf077ace
...
@@ -12,5 +12,4 @@ Our latest stable is always available on PyPi.
...
@@ -12,5 +12,4 @@ Our latest stable is always available on PyPi.
Full documentation is available in the
`/docs/`
directory.
Full documentation is available in the
`/docs/`
directory.
## License
## License
Docker is licensed under the Apache License, Version 2.0. See LICENSE for full
Docker is licensed under the Apache License, Version 2.0. See LICENSE for full license text
license text
docs/port-bindings.md
Dosyayı görüntüle @
bf077ace
...
@@ -29,8 +29,8 @@ like such in both the `create_container()` and `start()` calls:
...
@@ -29,8 +29,8 @@ like such in both the `create_container()` and `start()` calls:
```
python
```
python
container_id
=
c
.
create_container
(
container_id
=
c
.
create_container
(
'busybox'
,
'busybox'
,
'ls'
,
'ls'
,
ports
=
[(
1111
,
'udp'
),
2222
]
ports
=
[(
1111
,
'udp'
),
2222
]
)
)
c
.
start
(
container_id
,
port_bindings
=
{
'1111/udp'
:
4567
,
2222
:
None
})
c
.
start
(
container_id
,
port_bindings
=
{
'1111/udp'
:
4567
,
2222
:
None
})
...
...
docs/tls.md
Dosyayı görüntüle @
bf077ace
...
@@ -28,7 +28,7 @@ https://docs.python.org/3.4/library/ssl.html#ssl.PROTOCOL_TLSv1)
...
@@ -28,7 +28,7 @@ https://docs.python.org/3.4/library/ssl.html#ssl.PROTOCOL_TLSv1)
client
=
docker
.
Client
(
base_url
=
'<https_url>'
,
tls
=
True
)
client
=
docker
.
Client
(
base_url
=
'<https_url>'
,
tls
=
True
)
```
```
Equivalent CLI options:
Equivalent CLI options:
```
bash
```
bash
docker
--tls
...
docker
--tls
...
```
```
...
@@ -48,7 +48,7 @@ tls_config = docker.tls.TLSConfig(ca_cert='/path/to/ca.pem')
...
@@ -48,7 +48,7 @@ tls_config = docker.tls.TLSConfig(ca_cert='/path/to/ca.pem')
client
=
docker
.
Client
(
base_url
=
'<https_url>'
,
tls
=
tls_config
)
client
=
docker
.
Client
(
base_url
=
'<https_url>'
,
tls
=
tls_config
)
```
```
Equivalent CLI options:
Equivalent CLI options:
```
bash
```
bash
docker
--tlsverify
--tlscacert
/path/to/ca.pem ...
`
docker
--tlsverify
--tlscacert
/path/to/ca.pem ...
`
...
...
docs/volumes.md
Dosyayı görüntüle @
bf077ace
# Using volumes
# Using volumes
Volume declaration is done in two parts. First, you have to provide
a list of
Volume declaration is done in two parts. First, you have to provide
mountpoints to the
`Client().create_container()`
method.
a list of
mountpoints to the
`Client().create_container()`
method.
```
python
```
python
c
.
create_container
(
'busybox'
,
'ls'
,
volumes
=
[
'/mnt/vol1'
,
'/mnt/vol2'
])
c
.
create_container
(
'busybox'
,
'ls'
,
volumes
=
[
'/mnt/vol1'
,
'/mnt/vol2'
])
...
...
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