Skip to content

mu-ruU1/vyos-build-container-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vyos-build-container-image

GitHub Workflow Status (with event) Docker Pulls Docker Image Size (tag)
Docker Image Version (latest semver)

Quick reference

What's this image?

This image is a unofficial container image for VyOS.
This image is based on vyos/vyos-rolling-nightly-builds.
Check GitHub Actions for build status.

Points of attention

  • Default User
    • username: vyos
    • password: vyos
  • Enable SSH

How to use this image

Sample Lab

sample-lab

Make topology file

sample-topology.yaml

name: sample-lab

topology:
  nodes:
    vyos01:
      kind: linux
      image: muruu1/vyos:latest
      cmd: /sbin/init
    vyos02:
      kind: linux
      image: muruu1/vyos:latest
      cmd: /sbin/init
    vyos03:
      kind: linux
      image: muruu1/vyos:latest
      cmd: /sbin/init
    ubuntu01:
      kind: linux
      image: muruu1/net-cmd:latest
  links:
    - endpoints: ["vyos01:eth1", "vyos02:eth1"]
    - endpoints: ["vyos02:eth2", "vyos03:eth1"]
    - endpoints: ["vyos03:eth2", "vyos01:eth2"]
    - endpoints: ["vyos01:eth3", "ubuntu01:eth1"]

Deploy a lab

sudo clab dep -t ./clab/sample.clab.yml

Connecting to the nodes

ssh

ssh vyos@clab-sample-lab-vyos01

docker exec

docker exec -it clab-sample-lab-vyos01 su vyos

Destroy the lab

sudo clab des -t ./clab/sample.clab.yml