The Docker image for FRRouting
With docker run
command:
$ docker run -it --rm --privileged iwaseyusuke/frr
With docker-compose
command:
$ wget https://github.com/iwaseyusuke/docker-frr/raw/master/docker-compose.yml
$ docker-compose run --rm frr
Enable specific daemons you want to start:
root@xxxxxxxxxxxx:~# vi /etc/frr/daemons
...(snip)...
zebra=yes
bgpd=yes
ospfd=yes
...(snip)...
Start FRRouting with service
command:
root@xxxxxxxxxxxx:~# service frr start
Open vtysh
:
root@xxxxxxxxxxxx:~# vtysh
You can specify FRRouting daemons to be started by using environment value
FRR_DAEMONS
.
$ vi docker-compose.yml
...(snip)...
environment:
FRR_DAEMONS: zebra bgpd ospfd
...(snip)...