Sign inSign up

2stacks/vyos

By 2stacks

Updated over 7 years ago

VyOS Docker Image

Image
25

500K+

2stacks/vyos repository overview

VYOS on Docker

Instructions below are for converting the VYOS installation ISO in to a docker container.

Docker Stars Docker Pulls Build Details

Supported tags

  • 1.2.0-rc11, testing
  • 1.1.8, latest
  • 1.1.7

Build VyOS Docker Image

Download the latest ISO
mkdir vyos && cd vyos
wget https://downloads.vyos.io/release/1.1.8/vyos-1.1.8-amd64.iso
Mount the ISOs file system
mkdir rootfs
sudo mount -o loop vyos-1.1.8-amd64.iso rootfs
Unpack the filesystem
sudo apt-get install -y squashfs-tools
mkdir unsquashfs
sudo unsquashfs -f -d unsquashfs/ rootfs/live/filesystem.squashfs
Create Docker Image
sudo tar -C unsquashfs -c . | docker import - 2stacks/vyos
docker push 2stacks/vyos:latest

Run Docker Images

Start using:
docker run -d --name vyos --privileged -v /lib/modules:/lib/modules 2stacks/vyos:latest /sbin/init
Then run using:
docker exec -it vyos /bin/vbash

Tag summary

Content type

Image

Digest

Size

221.6 MB

Last updated

over 8 years ago

docker pull 2stacks/vyos