Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new repo frrouting/frr docker cannot run start: /etc/frr/daemons does not exist #14521

Closed
2 tasks done
milhauzindahauz opened this issue Oct 2, 2023 · 1 comment
Closed
2 tasks done
Labels
question Not a bug

Comments

@milhauzindahauz
Copy link


Describe the bug

First of all I am not any docker expert. Started to use docker for the FRR usage. I tried to pull from new repo. I tried to run few versions, but all of them failed to start with exit code 1 and error mesage cannot run start: /etc/frr/daemons does not exist. Then I looked at the issues and found this one #8558. Which pointed me to the only version I am able to run in the docker (old repo), same version doesn't work in the new one .

  • Did you check if this is a duplicate issue?
  • Did you test it on the latest FRRouting/frr master branch?

To Reproduce

Expected behavior

Screenshots

Versions

  • OS Version: Running on Windows 10 Docker WSL2 Backend
  • Kernel: 5.15.90.1-microsoft-standard-WSL2
@milhauzindahauz milhauzindahauz added the triage Needs further investigation label Oct 2, 2023
@ton31337
Copy link
Member

ton31337 commented Oct 2, 2023

/etc/frr/daemons, /etc/frr/frr.conf files are not provided by the container itself. You have to mount them when running a container. Something like:

docker run -d --init --privileged --name frr-9.0.1 --mount type=bind,source=/etc/frr/daemons,target=/etc/frr/daemons frr:v9.0.1

@ton31337 ton31337 closed this as completed Oct 2, 2023
@ton31337 ton31337 added question Not a bug and removed triage Needs further investigation labels Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Not a bug
Projects
None yet
Development

No branches or pull requests

2 participants