• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

Roger Perkin

Network Automation Architect

  • Network Automation
    • Network Automation Courses
    • What is NetDevOps?
    • Workflow Orchestration
    • Ansible Automation Platform
    • Ansible Workshop
    • What is Network Automation?
    • Network Automation Tools
    • ContainerLab
    • Ansible Training
      • What is Ansible?
      • Ansible Tutorial for Beginners
      • Ansible Network Automation
      • Ansible Hosts File
    • Python Network Automation
      • Nornir
      • Python Network Automation Course
      • Python for Network Engineers
      • Python VENV / Virtual Environment Tutorial
      • Python Tutorial for Beginners
      • pyATS
    • Network Source of Truth
      • NetBox Training
      • Infrahub
    • NetDevops
    • DevOps Tutorial
      • Git Training
      • Terraform Training
      • Linux Training
      • Kubernetes Training
      • Devops Training Course
      • Azure Devops Training
    • Terraform
    • GIT
      • Git Commands
      • What is GitHub?
    • Docker Training
    • Confluence
    • Microsoft Azure
  • Cisco
    • ISE
    • SD WAN Training
    • Password Recovery
    • Software-Upgrade-Guides
    • BGP
    • Data Center
    • WIRELESS
  • CCIE
  • Blog
  • About
    • My Red Special Guitar
  • Contact

How to bring up vJunos Router in Containerlab

Home » Network Automation » Network Automation Lab

Containerlab is a brilliant way to bring up network testing labs, and Juniper have released free vJunos images that you can use. In this post I am going to download the vJunos image and load it into my Containerlab server.

Download the vJunos router image

The vJunos router image can be downloaded from:
https://support.juniper.net/support/downloads/?p=vjunos-router

This is a qcow image which will not natively run in Containerlab so you have to convert it.

It is built using vrnetlab project and essentially is a Qemu VM packaged in a docker container format.

Head over to https://github.com/hellt/vrnetlab

Next clone this repo to your machine

git clone https://github.com/hellt/vrnetlab.git

cd into the directory of your chosen vendor, in my case

I also need to SCP the image which I have downloaded on my Mac to my Containerlab Server. This may vary for you but you just need to get the vJunos router image into the vjunosrouters folder

The command for me looks like this

SCP vJunos-router-23.2R1.15.qcow2 [email protected]:/home/roger/vrnetlab/vjunosrouter

I now have the vJunos Router qcow image in the correct folder.

make vJunos router image with vrnetlab

To make the containerised image, just run the command make

vjunos router vrnetlab containerlab image


Now I have the containerised image which I can use in a ContainerLab topology.

If you haven’t got Containerlab installed check out my Containerlab post here:
https://www.rogerperkin.co.uk/containerlab/

We are just going to build a very simple topology with one router to make sure it spins up ok

Once you have containerlab installed you need to create a file called <yourlab>.clab.yml

name: "Juniper vJunos Router Lab"
prefix: ""

mgmt:
  network: fixedips
  ipv4-subnet: 172.16.250.0/24

topology:
  nodes:
    vJunos-1:
      kind: juniper_vjunosrouter
      image: vrnetlab/juniper_vjunos-router:23.2R1.15

Then from the directory that contains your topology file run the command sudo clab deploy

You can now ssh to the vJunos router using admin:admin@123

These are the default credentials applied during the container build

ssh to vJunos router

Enjoy!

Category: Network Automation Lab
ansible course for network engineers
Get Access to my Ansible Course NOW
Previous Post:Infrahub Schema
Next Post:What is the difference between Nokia SR Linux and Nokia SR OS?

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Sidebar

Hi I'm Roger Perkin,
Based in the UK working as a Network Automation Architect, CCIE #50038
About Roger | Twitter | Linkedin

python course for network engineers

Topics

Network Automation
Ansible
Python for Network Automation
CCIE
Cisco ISE
F5 Certification
BGP
OSPF
Network Automation Conferences
auvik promo banner
Pluralsight Trial

Git for Network Engineers

Ansible vs Nornir

Start learning today with my Network Automation Courses

Master Ansible, Python, Git, Nornir, Jenkins and more..


Buy me a coffeeBuy me a coffee

ansible network automation course

Have you seen my YouTube Channel?

YouTube Subscribe

Let’s get started

Take a look at my premium courses on Ansible, Nornir & Git or buy them all with the Network Automation Bundle!

Network Automation Courses

Navigation

Python VENV Tutorial
Python for Network Engineers

Network Automation
Network Automation Courses
Network Discovery Tools
Network Automation Conferences
Ansible Training
What is Ansible?
Devops Tutorial
Network Source of Truth
DevOps Glossary
Network Monitoring Software

Contact

Contact

Get in touch with me here

[email protected]

  • Twitter
  • LinkedIn
  • YouTube
Buy me a coffeeBuy me a coffee

Copyright © 2025 · Roger Perkin · All Rights Reserved · Privacy Policy – Terms