Local Docker connector for netunicorn
Project description
netunicorn-connector-docker
This is a netunicorn connector for a local Docker infrastructure.
This connector works only with the local Docker daemon, requires current user to be in the docker group and always presents a single host with the name "dockerhost".
Usage
This connector is supposed to be installed as a part of netunicorn-director-infrastructure package or container.
Install the package:
pip install netunicorn-connector-docker
Ensure that the user (netunicorn-director-infrastructure process owner) is in the docker group (or root).
Then, add the connector to the netunicorn-director-infrastructure configuration:
local-docker: # unique name
enabled: true
module: "netunicorn.director.infrastructure.connectors.docker_connector" # where to import from
class: "DockerConnector" # class name
config: "configuration-example.yaml" # path to configuration file
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for netunicorn-connector-docker-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1403fa965d25531944a48745727d2f580766a8fd9fb9688c57b93eb1ab6dab77 |
|
MD5 | c8c6728ed781dc559e677b2b35c2f1a8 |
|
BLAKE2b-256 | 42978642b1455bac3e80767c4445d311396ce388b76d23185e053e6e6a8aa752 |
Close
Hashes for netunicorn_connector_docker-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4973147b2a1a01d59cf7c48a52aaea40d2525b19472f1d689fd817d077d60db3 |
|
MD5 | bb4ad9201aa0939256cfd2fe1a2b6889 |
|
BLAKE2b-256 | 88c79ca0e9ad5cc30de5cb28fa2585de98d4f3b012b90d2a34270af6284d6cf0 |