Traffic Dictator images on Docker Hub

TD images are now available in a public repository on Docker Hub.

Download and run TD with one command

Now it is possible Traffic Dictator with just one command, no need to download or import any images:

sudo docker run --name traffic-dictator --hostname TD1 --privileged -d vegvisirsystems/td:latest

This is all you need to get started with Segment Routing Traffic Engineering.

Other options

Map an existing startup config to the TD instance:

sudo docker run --name traffic-dictator --hostname TD1 -v /home/dima/TD_config_ISIS:/usr/local/td/startup-config --privileged -d vegvisirsystems/td:latest

Run TD in host networking mode:

sudo docker run --name traffic-dictator --hostname TD1 --privileged -d vegvisirsystems/td:latest

Pull the latest TD version but don’t run it yet:

sudo docker pull vegvisirsystems/td:latest

Run a specific TD version:

sudo docker run --name traffic-dictator --hostname TD1 --privileged -d vegvisirsystems/td:1.5

Browse all TD images: https://hub.docker.com/r/vegvisirsystems/td/tags

For more details see https://vegvisir.ie/installation-and-upgrade/

Containerlab example

Now it is possible to add TD to as a .clab.yml config file as a Linux container:

    traffic-dictator:
      kind: linux
      image: vegvisirsystems/td:latest
      binds:
        - TD_config_ISIS:/usr/local/td/startup-config
      exec:
        - ip address add 192.168.0.1/24 dev eth1
        - ip -6 address add 2001:192::1/64 dev eth1

  links:
    # other endpoints
    - endpoints: ["R1:Gi0-0-0-3", "traffic-dictator:eth1"]

With this config, containerlab will automatically pull the latest image and map the specified config file as a TD startup-config; it will also configure the specified IPv4 and IPv6 addresses.

Lab configs on Traffic Dictator quick start with Containerlab page have been also updated to this format so you don’t have to manually run TD as an external container before starting the lab.

Leave a Comment