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 hashes)

Uploaded Source

Built Distribution

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