Docker Deployment Guide¶
This guide explains how to build and run the Nautilus SGX MVP using Docker containers.
Prerequisites¶
Before deploying the Nautilus MVP with Docker, ensure your system meets the following requirements:
System Requirements¶
- Ubuntu 20.04
- Intel CPU with SGX support
- Docker installed
- Support for DCAP attestation
Required Components¶
-
Docker Environment
- Docker Engine
- SGX device drivers mounted
-
Signing Key Setup
Generate a development signing key:
Production Environment
For production environments, use your production signing key instead of generating a new one.
Build Instructions¶
-
Navigate to Docker Directory
-
Build Docker Image
For Ubuntu 20.04:
-
Run Container
Verification Steps¶
-
Check Container Status
-
Verify Service Health
-
AESM Service
The container automatically handles the AESM service startup through the
/restart_aesm.sh
script, so no manual verification is needed.
Configuration¶
Environment Variables¶
HOST
: Service host address (default: 127.0.0.1)PORT
: Internal service port (default: 8080)
Port Mappings¶
- Internal port: 8080
- External port: 8081 (configurable via Docker run command)