Credits
Uses the wonderful pipework script of jpetazzo: https://github.com/jpetazzo/pipework
Installation
- ::
cd docker-executor virtualenv venv . venv/bin/activate pip install –editable .
Requires
docker-executor reads the configuration from a K/V store.
Cluster object:
dnsname: name to register the cluster in the service discovery’s DNS
Node object:
name: hostname of the docker container
docker_image: URL of the docker image to use
docker_opts: specific docker run options to use
cpu: number of cores that can be used by this container
mem: memory in MB that can be used by this container
disks: Disk object list (see below)
networks: Network object list (see below)
port: main service port used for service discovery, e.g. 22
tags: list of tags for service discovery separated by comma, eg. ‘v1,testing,hdp’
check_ports: list of ports to check that the container is alive, eg. ‘22,5000,8080’
id: it will be set to the docker id of the running container
host: it will be set docker engine where the container is running
status: it will be set to the current status of the node
Network object (registry.Network object):
type: ‘static’, ‘dynamic’
networkname: name of the network to use form the networks service
address: for dynamic allocation use ‘_’, ‘dynamic’ or ‘’
- The name of the network device (eg. eth0) is taken automatically from the name of the
directory in consul: eg. node/networks/eth0/address -> eth0
Volume object (registry.Disk object):
origin
destination
mode (OPTIONAL): default ‘rw’
Deployment
Using clush and pip:
- ::
python setup.py sdist upload -r pypi clush -bw @bigdata pip install –upgrade –no-cache-dir docker-executor
Metadata
Release files for docker-executor 0.3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| docker-executor-0.3.7.tar.gz | 10.6 kB | Without provenance | Details for docker-executor-0.3.7.tar.gz |
Release files / docker-executor-0.3.7.tar.gz
| Download URL | docker-executor-0.3.7.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b575b30cdb7ce1363d7203f0ef357cb0d23b29759a8cba6526b505ffa07e50e
|
|
BLAKE2b-256 checksum How to use checksums |
3c06fe986a21523a54a4ac8af2bdaade63717cdfa093a859b948db2bb1b35854
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for docker-executor 0.3.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.