ravens / docker-vyos Goto Github PK
View Code? Open in Web Editor NEWVyOS inside a container.
License: MIT License
VyOS inside a container.
License: MIT License
Thanks for this project. With your instructions and Dockerfile, I made a quick start with running VyOS inside docker.
Unfortunately, I ran into an error when actually committing a configuration.
Can you help me?
$ docker network create -d macvlan -o parent=eth1 wan1
$ docker run -d --rm --name vy1 --net wan1 --privileged --cap-add=NET_ADMIN -v /lib/modules:/lib/modules vyos-ravens /sbin/init
vyos@vyos:/$ show version
Version: VyOS 1.3-rolling-202003240625
vyos@vyos# set interfaces ethernet eth0 address 172.17.247.7/24
[edit]
vyos@vyos# commit
[ interfaces ethernet eth0 ]
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 421, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 314, in apply
e.set_flow_control(eth['flow_control'])
File "/usr/lib/python3/dist-packages/vyos/ifconfig/ethernet.py", line 100, in set_flow_control
tmp = self._cmd(cmd)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 37, in _cmd
raise RuntimeError(f'{command}\nreturned: {decoded}')
RuntimeError: /sbin/ethtool --show-pause eth0
returned: Cannot get device pause settings: Operation not supported
Pause parameters for eth0:
[[interfaces ethernet eth0]] failed
vyos@vyos:/$ sudo /sbin/ethtool --show-pause eth0
Pause parameters for eth0:
Cannot get device pause settings: Operation not supported
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.