Docker on VyOS
I made VyOS which can run Docker for fun :)
1. Install and start docker
2. Run debian container
And I try to make VyOS docker image now. But the image can not get IP...
Wow! great concept.
Did you manage to get any further with this?
We were thinking of trying something like this to get over the lack of vrf-lite or MPLS. Just run vyos in a docker container!
(29/01/2015, 00:17)chrisgibbs Wrote: Wow! great concept.
The concept appears to be gaining traction with quagga - some patches (which I haven't used) have been on the quagga-dev mailing for a while. https://lists.quagga.net/pipermail/quagg...11803.html
I read through the thread this morning and it appears they are umming and arring on whether to have multiple processes, for each namespace, or whether to expand the data structures to support a VRF tag passed between single processes. (Or even both based on the list).
The pragmatic short term solution is definitely getting vyos-in-docker working. Centralised control-plane on the VM/baremetal VyOS instance would be sugar on top.
Exciting stuff though.
I'm trying to get linux containers working in vyos. I need a recent linux kernel for hw support, so the beta build based on jessie with 4.4 kernel is great.
I see you guys seem to have got docker working in the squeeze based versions, so I was wondering if you could share some insights on the required steps to get this working.
It seems the kernel config for vyos does not enable all the cgroups required by lxc to mount and run. I have set up a build environment for vyos based on jessie and can build the iso.
What would be the correct way to configure and enable these cgroups in this build setup?
(08/03/2017, 11:12)hpflux Wrote: Hi,
VyOS kernel source is here: https://github.com/vyos/vyos-kernel. And this is a submodule of vyos-build. See https://github.com/vyos/vyos-build/tree/...t/packages.
So you can use your forked vyos-kernel in vyos-build with git submodule.
Thanks for taking the time! I'll try to read up on the live-build setup, but would the main steps then be to
- clone the vyos-kernel and configure it to include nessecary cgroups and then build
- configure vyos-build to include the local kernel
- run vyos-build again
Sorry for the noob-ish questions, I'm not a kernel-hacker (yet :-)
|Users browsing this thread:|