This project is about investigating the encrypted database CryptDB developed at MIT in 2011.
- Currently, the most actively maintained cryptDB repository is located at yiwenshao/Practical-Cryptdb.
- This Dockerfile deploys the project into a runnable docker container base on Ubuntu 16.04.
http://docs.docker.com/v1.8/installation/
This setup is for Linux. For OS X and Windows, install Docker Toolbox and skip the sudo part of the commands.
git clone https://github.com/agribu/Practical-Cryptdb_Docker.git
sudo docker build -t **name-of-image**:**version** **.**
#Example:
sudo docker build -t cryptdb:v1 .
#To build without caching use:
sudo docker build --no-cache=true -t cryptdb:v1 .
(Open the Docker Quickstart Terminal if OS X or Windows)
sudo docker run -d --name **name-of-container** -p **port-in**:**port-out** -p **port-in**:**port-out** -e MYSQL_ROOT_PASSWORD='letmein' **name-of-image**:**version**
#Example:
sudo docker run -d --name cryptdb_v1 -p 3306:3306 -p 3399:3399 -e MYSQL_ROOT_PASSWORD='letmein' cryptdb:v1
(Important: The password must be 'letmein')
sudo docker exec -it **name-of-container** bash
#Example:
sudo docker exec -it cryptdb_v1 bash
./cdbserver.sh
./cdbclient.sh