Created
May 1, 2018 15:37
-
-
Save leleobhz/77d8047dff2e1961b74b4de204626657 to your computer and use it in GitHub Desktop.
FRR Docker Compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.4' | |
services: | |
bgpd_65001: | |
image: frr:latest | |
restart: always | |
container_name: as65001 | |
logging: | |
driver: journald | |
volumes: | |
- /srv/storage/frr/bgpd/01.conf:/etc/frr/bgpd.conf | |
entrypoint: ['/usr/lib/frr/bgpd', '-n', '-S', '-p', '179'] | |
cap_add: | |
- NET_ADMIN | |
networks: | |
bgp_lab: | |
ipv4_address: 192.168.0.1 | |
ipv6_address: 2001:DB8::1 | |
bgpd_65002: | |
image: frr:latest | |
restart: always | |
container_name: as65002 | |
logging: | |
driver: journald | |
volumes: | |
- /srv/storage/frr/bgpd/02.conf:/etc/frr/bgpd.conf | |
entrypoint: ['/usr/lib/frr/bgpd', '-n', '-S', '-p', '179'] | |
cap_add: | |
- NET_ADMIN | |
networks: | |
bgp_lab: | |
ipv4_address: 192.168.0.2 | |
ipv6_address: 2001:DB8::2 | |
networks: | |
bgp_lab: | |
driver: bridge | |
enable_ipv6: true | |
driver_opts: | |
com.docker.network.enable_ipv6: "true" | |
com.docker.network.bridge.enable_ip_masquerade: "false" | |
ipam: | |
driver: default | |
config: | |
- | |
subnet: 192.168.0.0/24 | |
- | |
subnet: 2001:DB8::/64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Creating network "frr_bgp_lab" with driver "bridge"
Creating as65002 ...
Creating as65001 ... error
Creating as65002 ... done
ERROR: for as65001 Cannot start service bgpd_65001: Address already in use
ERROR: for bgpd_65001 Cannot start service bgpd_65001: Address already in use
ERROR: Encountered errors while bringing up the project.
With