Skip to content

iamzhanghaohui/DEBE-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Introduction

该仓库是深圳大学计算机前沿技术课程的作业提交仓库,目标是复现前沿工作,该仓库复现的是 Zuoru Yang, Jingwei Li, and Patrick P. C. Lee. Secure and Lightweight Deduplicated Storage via Shielded Deduplication-Before-Encryption USENIX ATC 2022. 提供了更加方便的docker容器启动方式。 源代码地址为DEBE

Prerequisites

  • docker 环境
  • sgx driver

images

aesm

镜像地址:registry.cn-hangzhou.aliyuncs.com/zhanghaohui/aesm:02 基础镜像为ubuntu18.04

sgx

镜像地址:registry.cn-hangzhou.aliyuncs.com/zhanghaohui/sgx:01 代码位置在 /root/test/DEBE 基础镜像为ubuntu20.04,sgx-ssl库是通过宿主机编译后docker cp进镜像内的

start up

#aesm镜像
docker pull registry.cn-hangzhou.aliyuncs.com/zhanghaohui/aesm:02
#DEBE兼SGX开发环境
docker pull registry.cn-hangzhou.aliyuncs.com/zhanghaohui/sgx:01

docker volume create --driver local --opt type=tmpfs --opt device=tmpfs --opt o=rw aesmd-socket

#启动aesm
docker run --env http_proxy --env https_proxy --device=/dev/isgx -v /dev/log:/dev/log -v aesmd-socket:/var/run/aesmd -it registry.cn-hangzhou.aliyuncs.com/zhanghaohui/aesm:02
#启动应用程序
docker run --env http_proxy --env https_proxy --device=/dev/isgx -v aesmd-socket:/var/run/aesmd  -it registry.cn-hangzhou.aliyuncs.com/zhanghaohui/sgx:01

注意 --device是SGX硬件设备的设备文件,不同机器可能会不一样,但是主要是分为两种 一种为--device=/dev/sgx/enclave --device=/dev/sgx/provision 配合一起使用 另一种为--device=/dev/isgx单独使用

然后就可以在sgx容器中使用DEBE了

About

容器化启动DEBE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published