mystikos icon indicating copy to clipboard operation
mystikos copied to clipboard

How to Containerize an application with Mystikos ?

Open noelhermans opened this issue 3 years ago • 6 comments

We want to run our dotnet-core microservices application currently running in Azure AKS in a SGX enclave with Mystikos on Azure . The following link explains how to get started : https://github.com/deislabs/mystikos/blob/main/doc/user-getting-started-docker-dotnet.md . All works except that it is missing how I package the appdir into a docker container. Do you have more details or an examples on this ?

noelhermans avatar Aug 27 '21 07:08 noelhermans

Currently we do not have public examples on how to package to a container. But the general idea is you need to prepare the image with all required sgx dcap drivers and specify correct VM SKU in AKS configuration.

praenubilus avatar Aug 27 '21 08:08 praenubilus

@praenubilus are you aware of any tool that can automate container creation after the appdir is created? or maybe the whole process?

gsantopaolo avatar Aug 27 '21 12:08 gsantopaolo

@praenubilus are you aware of any tool that can automate container creation after the appdir is created? or maybe the whole process?

From my best knowledge, no.

praenubilus avatar Aug 27 '21 16:08 praenubilus

@noelhermans this sample Dockerfile is a reference for you to containerize the mystikos appdir/package. Just make sure you run the container on an SGX enabled SKU https://github.com/deislabs/mystikos/blob/b091aa6d2313c470ee399099e0b2d7db9041e845/samples/docker/helloworld/Dockerfile#L1

praenubilus avatar Aug 27 '21 16:08 praenubilus

#777

asvrada avatar Oct 04 '21 23:10 asvrada

#1161

jxyang avatar Apr 28 '22 17:04 jxyang