Skip to content

How to document docker containers in Netbox? #9655

Answered by candlerb
XGhosted asked this question in Q&A
Discussion options

You must be logged in to vote

If these are long-running docker containers, I would document them as Virtual Machines.

If you are using "docker run" or "podman run" on standalone hosts, then create separate "clusters" each containing a single host. Create a cluster type of "docker". Then you can associate each container with the correct "cluster" host.

If it's a kubernetes cluster (or docker swarm or nomad or whatever), where containers are potentially mobile between a group of hosts, then make a single "cluster" containing the group of hosts. Again, you can create a cluster type of "kubernetes", "swarm" etc.

If you run your docker containers inside a virtual machine, then I'd still create a "cluster" to represent the …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by XGhosted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants