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

Remove symbolic link in Dockerfile #1996

Open
vnghia opened this issue Dec 29, 2023 · 0 comments
Open

Remove symbolic link in Dockerfile #1996

vnghia opened this issue Dec 29, 2023 · 0 comments

Comments

@vnghia
Copy link

vnghia commented Dec 29, 2023

This line

ln -s /i2pd_certificates "$DATA_DIR"/certificates

is causing me trouble when I try to bind mount /home/i2pd/data/ with a named volume. My suggestion is we remove this line and add a --certsdir to $DEFAULT_ARGS which will point to /i2pd_certificates.

I can send a PR for this.

Furthermore, if I want to keep the data in the docker file persistent, I got this error after restart the container (without removing the bind volume): ln: /home/i2pd/data/certificates/i2pd_certificates: File exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant