Skip to content
All posts

Containerlab vs EVE-NG: How Far Each One Scales, and When to Use Both

You have probably seen Containerlab come up in automation talks, vendor labs and Git repositories, and you want to know whether it should replace the EVE-NG (or GNS3) lab you already have. The comparisons you find tend to stop at "containers are light, VMs are heavy" or score the two tools on a feature checklist. That is not enough to decide where your next lab should live.

Containerlab is as scalable as the images you put in it. Container-native network operating systems boot in seconds and run by the dozen on one server. Most Cisco images are full virtual machines, and those fill a server quickly whichever tool starts them. EVE-NG scales along a different line, many labs and many users, and builds labs on a canvas instead of in a file.

One disclosure first. CloudMyLab is an official EVE-NG hosting partner, tested and approved by EVE-NG Ltd. We also host GNS3 and Cisco Modeling Labs (CML), and we can host Containerlab labs for you. Whichever lab you are planning, the sections below say which tool fits it, including the cases where you do not need us.

Containerlab vs EVE-NG at a glance

  Containerlab EVE-NG GNS3
What it is Lab orchestrator: deploys a topology from a YAML file Emulator with a browser canvas Emulator with a desktop GUI and a server
How you build a lab Edit a file (or use the VS Code extension, desktop app or web app on top of it) Drag nodes and links on the canvas Drag nodes and links in the GUI
What it runs Container-native NOSes; VM images wrapped in containers through vrnetlab VM images (QEMU) and Docker containers VM images (QEMU), Dynamips, Docker containers
Free option The whole tool (BSD-3-Clause open source) Freemium: 7 running nodes per instance The whole tool (open source)
Separate user roles No edition tiers With an EVE-NG RBL license Depends on the GNS3 version
One lab across several servers With the clabernetes runtime on Kubernetes EVE Cluster, listed in every edition Remote compute servers
Images You supply them You supply them You supply them

Editions change, so confirm on each vendor's page.

If your lab is a large, VM-heavy Cisco or multi-vendor topology, or a lab several people share, the server is the hard part. CloudMyLab hosted emulators run EVE-NG Pro, GNS3 and CML on our virtual machines or bare-metal servers, and we can host Containerlab labs for you. You keep the tool that fits your workflow and stop sizing, patching and rebooting the hardware underneath it.

What is the real difference between Containerlab and EVE-NG?

The difference is where the lab lives. In Containerlab, the lab is a text file. You declare the nodes, their images and the links between them in YAML, run one command to deploy, and keep the file in Git next to your startup configs. That makes a lab easy to rebuild, review, share and run in a CI pipeline. Containerlab is not command-line only: its GUI documentation describes one topology UI used by a VS Code extension, a desktop app and a web app, all working on the same file.

In EVE-NG, the lab lives on the canvas. You add nodes, cable them, open consoles and capture traffic from the browser. That suits a design you are still exploring, where adding a fourth router or flapping a link takes one click.

The usual shortcut, "Containerlab runs containers, EVE-NG runs VMs", is wrong in both directions. Containerlab runs VM-based images by wrapping each VM in a container. EVE-NG runs containers as well: its features comparison lists "Docker container support" in Freemium, Base and RBL. How far either tool goes on one machine depends on the kind of image each node runs.

How far does Containerlab scale?

It depends on whether your images are native containers or virtual machines in a container.

Container-native images

A container-native network OS shares the host's kernel and starts like any other container. Ivan Pepelnjak's boot-time measurements at ipSpace (on a 16-core, 64 GB server) show the gap:

Image Type Time to boot
FRRouting Container 2.0 s
Nokia SR Linux Container 11.6 s
Arista cEOS Container 20.9 s
Cisco IOL Container 29.3 s
Cisco IOS XRd Container 34.6 s
Cisco Catalyst 8000v VM 1:49.6
Cisco Nexus OS VM 3:21.7

Container-native images also need less memory, so you can run many of them. Containerlab's cEOS documentation says the ceos-lab image "supports up to 50 nodes per host", with a documented kernel setting for going past that. Cisco IOL needs about 768 MB of RAM per node according to the Containerlab IOL page. With images like these, a topology of dozens of nodes on one well-sized server is ordinary.

VM-based images

Most Cisco images are virtual machines. Containerlab runs them through vrnetlab, which, in the words of the Containerlab vrnetlab manual, "packages a regular VM inside a container". The container is a wrapper. The VM inside still needs its own CPU and memory, and if your Containerlab host is itself a VM, nested virtualization has to be enabled.

Containerlab's own defaults show what that costs per node:

  • Catalyst 8000V: "Each c8000v node is started with 1vCPU and 4GB of RAM by default."
  • IOS XRv 9000 (kind page): "the defaults used in containerlab are 2vCPU/16G", and the image "may take 25 minutes to fully boot".

A handful of these is fine on a laptop or a small server. A topology of twenty is a server-sizing exercise, because every node adds gigabytes of memory and minutes of boot time. This is where a large Cisco topology in Containerlab starts to break down. The VMs set the limit, in EVE-NG and GNS3 too.

Starting many nodes at once

Most trouble shows up at boot. The vrnetlab manual warns that "a simultaneous boot of many qemu nodes may stress the underlying system, which sometimes renders in a boot loop or system halt." Containerlab gives you the tools to avoid it: a per-node boot delay, startup stages so that one node waits for another to be healthy, and a limit on how many nodes deploy in parallel. On a large VM-based lab, plan to use them.

Beyond one machine

With its default container runtime, a Containerlab topology runs on one host. The multi-node manual says Containerlab is "a perfect tool of choice when all the lab components/nodes fit into one VM or bare metal server", and offers ways to link separately deployed labs. To spread one topology over several machines, the project's answer is clabernetes, which "schedules containerlab topologies across the nodes of a Kubernetes cluster". That means running a Kubernetes cluster, which is a project of its own.

What do 10 lab nodes need?

The image sets the memory bill. Containerlab publishes a default for each image it supports, and Cisco publishes nominal figures for the same images in Cisco Modeling Labs (CML). The table puts the two side by side. The "ten nodes" column is our arithmetic: the documented per-node figure multiplied by ten. It leaves out the host's own operating system and the tool's overhead.

Image Runs as Containerlab default CML nominal Ten nodes
Cisco IOL Container in Containerlab; in CML, not a full VM 768 MB minimum 1 vCPU, 1 GB 7.5 to 10 GB
ASAv VM 1 core, 2 GB (vrnetlab) 1 vCPU, 2 GB 10 vCPU, 20 GB
Catalyst 8000V VM 1 vCPU, 4 GB 1 vCPU, 4 GB 10 vCPU, 40 GB
Nexus 9000v VM 4 vCPU, 10 GB 2 vCPU, 12 GB 20 to 40 vCPU, 100 to 120 GB
IOS XRv 9000 VM 2 vCPU, 16 GB 4 vCPU, 20 GB 20 to 40 vCPU, 160 to 200 GB

Sources: Containerlab's kind pages for IOL, Catalyst 8000V, Nexus 9000v and IOS XRv 9000, the vrnetlab ASAv README, and the node resource table in Cisco's CML FAQ.

The same image can carry a different default. Containerlab and CML agree on Catalyst 8000V and ASAv, and differ on Nexus 9000v and IOS XRv 9000, so check what the image's vendor recommends before you size a server on someone's default. For EVE-NG, take the per-image figure from the image vendor's recommendation in the same way.

Real use is often lower than nominal. Containerlab recommends KSM for vrnetlab labs because it "drastically reduces the memory footprint", Cisco says CML "uses Linux kernel same page merging to reduce the memory required to run a lab", and EVE-NG lists "Memory optimization (KSM)" among its features. Plan on the nominal figure and treat the saving as headroom.

Can Containerlab run Cisco images?

Yes, for the platforms it supports, and how well depends on which ones. Two Cisco images run as containers: IOL (IOS on Linux, including the layer 2 version) and the XRd control plane. Everything else Cisco, such as Catalyst 8000V, CSR1000v, Nexus 9000v, IOS XRv 9000, ASAv, FTDv and IOSv, runs as a VM through vrnetlab, with the resource cost above.

Running an image and being licensed to run it are separate questions. Containerlab's IOL guide describes extracting IOL from Cisco Modeling Labs, but Cisco's own CML installation guide is explicit: "Downloading the images and using them outside Cisco Modeling Labs without a proper license is prohibited." A CML subscription gives you Cisco images for use in CML, not a library for Containerlab, EVE-NG or GNS3. Our guide to what Cisco CML costs covers what each CML tier allows.

Other vendors set their own terms, and Containerlab's open-source license does not change them:

  • Nokia SR Linux: Nokia publishes it with "no registration, licensing or contract requirements" for learning, demo, test and CI use.
  • Arista cEOS: a download for registered arista.com users, under Arista's terms.
  • Juniper vJunos: free to download, for use "only in labs and not in the production environment".

So "no license needed" is true of Containerlab itself. For the images, it depends on the vendor.

How does EVE-NG scale differently?

VM-based images are heavy in EVE-NG too: each node still needs its own vCPU and gigabytes of memory. EVE-NG can also grow past one server: its features comparison lists "EVE Cluster", described as a "Multi servers EVE system", in every edition. Where it differs most is what it is built to scale: many labs and many users, each working in a browser. EVE-NG lists the Freemium node limit as "7 nodes per EVE instance", and its paid Base and RBL editions as "1024 per lab". Base is admin-only. Separate admin, editor and user roles come with role-based licensing (RBL), which is what a training team or a shared engineering lab server needs. Our EVE-NG Community vs Professional guide covers the editions, and what the 7-node free tier means has the detail on Freemium.

So the two tools answer different scale questions. Containerlab asks how big one declarative topology can get on one host. EVE-NG asks how many people and labs it can carry, with a GUI each of them can use without learning YAML.

Where does GNS3 fit?

GNS3 sits close to EVE-NG: a free, open-source emulator where you build labs in a GUI and run VM images. It supports Docker containers, and its Docker documentation gives FRRouting containers running OSPF, BGP or IS-IS as an example. GNS3 2.2 shares one server without user isolation, and GNS3 3.x adds users and roles. If you are choosing between the two GUI tools, our EVE-NG vs GNS3 comparison goes through it. For the wider field, including CML, see our guide to cloud network emulation platforms.

Can you use Containerlab and EVE-NG together?

Yes. You do not have to pick one. A common split is by image weight and by job. A repeatable fabric built from cEOS, SR Linux, FRR or XRd lives in Containerlab, in Git, where an automation pipeline can deploy it, test against it and tear it down. Labs built from heavy VM images, such as Nexus 9000v, firewalls, ISE or Windows hosts, or labs that a team explores by clicking, stay in EVE-NG or GNS3.

For example, you might learn an EVPN fabric on cEOS or SR Linux in Containerlab, where the whole topology fits on a laptop, then move to Nexus 9000v in EVE-NG when the exact Cisco syntax matters and the memory bill goes up. If you want one level of abstraction above both, netlab generates the topology and configuration and deploys the lab through Containerlab.

Which one should you choose?

If you… Choose
Keep labs in Git, run them in CI, or generate topologies with code Containerlab
Mostly use container-native images (cEOS, SR Linux, FRR, XRd, IOL) Containerlab
Build many VM-based Cisco and multi-vendor images (NX-OS, firewalls, ISE) EVE-NG or GNS3, on a server sized for the VMs
Explore designs by clicking, capturing and changing as you go EVE-NG or GNS3
Share one lab server between several people with separate roles EVE-NG with RBL
Study for CCNA or CCNP EVE-NG, GNS3 or CML; Containerlab works, but the study material assumes a GUI
Need Cisco images included with the platform Cisco CML (see EVE-NG vs CML)

If you are leaving EVE-NG for another reason entirely, our EVE-NG alternatives guide sorts the reasons and the options.

What does your machine need?

Containerlab runs on Linux (amd64 and arm64), on your own machine or on a server or cloud instance. On Windows it runs in WSL, and on a Mac inside a Linux VM. If the Linux host is itself a VM, VM-based images need nested virtualization enabled on it. Container-native images with arm64 builds, such as SR Linux, run natively on Apple Silicon. For VM-based images, Containerlab's macOS guide says nested virtualization is "only available on M3+ chip with macOS version 15 and above".

EVE-NG needs a server with hardware virtualization; its hardware requirements state that "Intel CPU VT-x/EPT or nested AMD CPU EPT must be enabled". For either tool, total the memory and CPU of the VM-based nodes you plan to run, and treat that as the floor.

Conclusion

Containerlab vs EVE-NG comes down to your images and your workflow. If your nodes are container-native and your lab belongs in Git, Containerlab is the better tool, and with those images it handles dozens of nodes on one server. If your lab is built from Cisco and multi-vendor VMs, or shared by a team, EVE-NG fits, and the hardware underneath becomes the limit. You can also run both, split by image weight.

When the server is the problem, you do not have to buy and run it yourself. Start a free trial of hosted EVE-NG Pro to load a real lab on our hardware, or contact us to host GNS3, CML or a Containerlab topology.

Frequently asked questions

Does Containerlab have a GUI?

Yes. Containerlab defines labs in a YAML file, and the same topology UI is available in a VS Code extension, a desktop app and a web app. You can deploy, inspect and capture traffic from them without writing the YAML by hand.

Can Containerlab run Cisco images?

Yes. Cisco IOL and the IOS XRd control plane run as containers. Other Cisco images, such as Catalyst 8000V, Nexus 9000v and IOS XRv 9000, run as virtual machines wrapped in containers through vrnetlab, so each one needs its own CPU and memory. You supply the images, and Cisco does not allow images from Cisco Modeling Labs to be used outside CML without a proper license.

Is Containerlab free?

Containerlab itself is free and open source under the BSD-3-Clause license. The network operating system images are licensed by each vendor. Nokia SR Linux is freely available, Arista cEOS needs an arista.com account, and Cisco images need a Cisco license.

Is Containerlab replacing GNS3 and EVE-NG?

Not for every lab. Containerlab is built for labs kept in Git and run by automation pipelines, and it is at its best with container-native images. GNS3 and EVE-NG fit GUI-built labs, large VM-based topologies and certification study. You can use Containerlab for one kind of lab and EVE-NG or GNS3 for the other.

How much RAM does Containerlab need?

It depends on the images. In Containerlab, Cisco IOL needs about 768 MB per node, while a Catalyst 8000V starts with 4 GB and an IOS XRv 9000 with 16 GB by default. Add up the nodes in your topology and size the host for that total.