mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-12-25 02:39:17 +00:00
Specifying watchfrr as CMD instead of ENTRYPOINT allows one to easily override this command when starting a docker container. This allows simple, manual testing via (e.g.) bash. With ENTRYPOINT only the container will simply explode with an exit code if watchfrr exits. For instance one could start a shell session in this container via: ``` docker run --name test --rm -i -t <frr-container> bash ``` The default behavior (`docker run <frr-container>` with no command specified) is not changed. Signed-off-by: Wesley Coakley <wcoakley@nvidia.com> |
||
|---|---|---|
| .. | ||
| docker-start | ||
| Dockerfile | ||
| README.md | ||
Debian 10 Docker
This is a binary docker container build of Debian 10 (buster) with FRR.
Build
docker build -t frr-debian:latest .
Running
docker run -itd --privileged --name frr frr-debian:latest
vtysh
docker exec -it frr vtysh