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

Docker container "Couldn't load native crypto library" #523

Open
Joly0 opened this issue Aug 25, 2023 · 1 comment
Open

Docker container "Couldn't load native crypto library" #523

Joly0 opened this issue Aug 25, 2023 · 1 comment

Comments

@Joly0
Copy link

Joly0 commented Aug 25, 2023

Hey, i am trying to run the docker container using this docker run command:

docker run
  -d
  -p '8000:8000/tcp'
  -v '/peergos':'/opt/peergos/data':'rw' 
   'ghcr.io/peergos/web-ui:latest'

but afterwards the container stops and in the docker logs i can see this error:

Couldn't load native crypto library at /opt/peergos/native-lib/libtweetnacl.so, using pure Java version...
To use the native linux-x86-64 crypto implementation use option -Djava.library.path=native-lib
Run with -help to show options
@ianopolous
Copy link
Member

It will run fine with that error. That just means it's using the Java crypto implementation rather than C.

Is there anything else in the log?

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

2 participants