Skip to main content

NetBox Containers Plugin

Release License CI Docs PyPI Python NetBox

Plugin to document containers, pods, networks, volume mounts and secrets in NetBox.

Status: This plugin is under active development and is not recommended for production use yet!

It will support Podman and Docker - other container engines aren't supported, by may work if they use the same logic and Podman and Docker.

Features

  • Containers with mounts, network attachments, secrets, infra flag, devices/VMs, tags, and comments
  • Pods with infra container, network attachments, add-host, devices/VMs, tags, and comments
  • Networks with attachments to containers/pods and IPAM integration
  • Images and image tags
  • Volumes and mounts
  • Secrets (driver + options)

Requirements

  • NetBox 4.4.x–4.5.x
  • Python 3.12 (or newer)

Installation (dev)

  1. Install in your NetBox venv:
    pip install -e /path/to/netbox_container_plugin
    
  2. Add to PLUGINS in configuration.py:
    PLUGINS = [
        "netbox_containers",
    ]
    
  3. Run migrations:
    python /opt/netbox/netbox/manage.py migrate netbox_containers
    
  4. Restart NetBox.

Usage

  • Containers: add mounts, networks, and secrets via “Add Components” on the container detail page.
  • Pods: add network attachments via “Add Components” on the pod detail page.
  • Network attachments support both “User defined network” and custom modes (none/host/private/custom).
  • Secrets can be attached to containers with type (mount/env), target, and optional uid/gid/mode.

Documentation

Data Model (high level)

  • Container ↔ Pod (FK)
  • NetworkAttachment connects a Container or Pod to a Network or custom options
  • Mount belongs to a Container
  • ContainerSecret attaches a Secret to a Container
  • Secret has name, driver, options (text)

Development notes

  • Migrations live in netbox_containers/migrations/
  • If you’re copying files to a remote NetBox server, restart NetBox after each change.
  • See CONTRIBUTING.md for contribution workflow, required changelog fragments, and PR expectations.

License

See LICENSE.

AI-Assisted Project

This project was substantially coded by Large Language Models (LLMs) with human review.

Metadata

Release files for netbox-containers 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netbox-containers 0.3.0
File Size Uploaded Provenance Actions
netbox_containers-0.3.0.tar.gz 43.0 kB Without provenance Details for netbox_containers-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for netbox-containers 0.3.0
File Interpreter ABI Platform Actions
netbox_containers-0.3.0-py3-none-any.whl Python 3 none any Details for netbox_containers-0.3.0-py3-none-any.whl

Total release size: 123.1 kB

Release files / netbox_containers-0.3.0.tar.gz

Download URL netbox_containers-0.3.0.tar.gz
Size 43.0 kB
Tags Source
SHA-256 checksum
How to use checksums
473064a6c7e64df21feab35838a2ce2fb17511d32e6337a30706ebdbb2329934
BLAKE2b-256 checksum
How to use checksums
144b4e095ab6493b9f808127e05d702b24ef3fbd432d281c6e5898bd43696b02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.10

Release files / netbox_containers-0.3.0-py3-none-any.whl

Download URL netbox_containers-0.3.0-py3-none-any.whl
Size 80.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
366339da56d890ed794586def7695f2b5cc56817b2ad56cdfc56010d68dc385b
BLAKE2b-256 checksum
How to use checksums
c576fca73ebb4acb77292e74b8d1b7c52d12ff75bcceff90f5ab6990eee6d372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.10

Security for netbox-containers 0.3.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page