Skip to main content

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

netunicorn_connector_docker-0.1.6.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file netunicorn_connector_docker-0.1.6.tar.gz.

File metadata

File hashes

Hashes for netunicorn_connector_docker-0.1.6.tar.gz
Algorithm Hash digest
SHA256 13d198a66a76bc52d0fd6a5853c0498998f97784575d3f0a923c638c9fa85909
MD5 d3397d9684dbbf47564ba941669bc081
BLAKE2b-256 43d439c2e39f72212f474b752c1296b00e32ea1ebb6fd4b0e887c066e91d3a68

See more details on using hashes here.

File details

Details for the file netunicorn_connector_docker-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for netunicorn_connector_docker-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3475b35a238128f6b3d1dfa6728b1a7fe5d736ba7b945c86230275167ad273b8
MD5 6d19f45aed9bb39dc8ac31771d47b595
BLAKE2b-256 cd81ff02f3b30576a4cac630c933362c952ac6bd4eae4d624b9d3a8f4e4d6f79

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page