Giter VIP home page Giter VIP logo

docker-vyos's People

Contributors

ravens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-vyos's Issues

Device pause settings

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.