yspolyakov 971c0d342b Adds a docker file, updates instructions, and increments the version (#109) | 9 月之前 | |
---|---|---|
.. | ||
Dockerfile | 9 月之前 | |
README.md | 9 月之前 |
docker build -t openfhe-docker .
Make sure you run this command from the same folder where the Dockerfile is located (in the "docker" folder of the openfhe-python repository).
docker images
You should see a "openfhe-docker" in the list
docker run -d -p 8888:8888 openfhe-docker
docker ps
You should see openfhe-docker running
[http://localhost:8888](http://localhost:8888/)
All the code can be executed through this jupyterlab now
docker exec -it <container-name> /bin/bash
replace the with the name that you see when you use the command "docker run -d -p 8888:8888 openfhe-docker"
This takes you to a terminal interface inside the container which has all the dependencies installed.
You can now clone a github repo that depends on OpenFHE and run the code.