docs: use dstack v0.5.11 build-args for reproducible key-provider mr_enclave#3408
docs: use dstack v0.5.11 build-args for reproducible key-provider mr_enclave#3408barakeinav1 wants to merge 2 commits into
Conversation
Pull request overviewDocumentation-only change to the TDX operator guide. Replaces the manual Changes:
Reviewed changesPer-file summary
FindingsBlocking (must fix before merge):
Non-blocking (nits, follow-ups, suggestions):
|
There was a problem hiding this comment.
Pull request overview
Updates the external TDX operator guide to rely on dstack v0.5.11’s newly-added APT_SNAPSHOT build-arg for reproducible SGX local key-provider builds (stabilizing the resulting mr_enclave), replacing the prior manual Dockerfile patch instructions.
Changes:
- Add required Docker tooling packages (
docker-compose-v2,docker-buildx) to host prerequisites and explain why. - Replace the manual
Dockerfile.key-providerpatch instructions with agit worktree+APT_SNAPSHOT=... ./run.shprocedure. - Add troubleshooting guidance for
gramine-sealing-key-providercrash loops withAESM service returned error 44.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
60cdaa9 to
82f47a8
Compare
Replace the temporary manual Dockerfile.key-provider patch (#3152) with the upstreamed build-arg mechanism (Dstack-TEE/dstack#672, first released in dstack v0.5.11), so operators reproduce the canonical key-provider mr_enclave without editing files: - Build key-provider-build/ from a v0.5.11 git worktree with `APT_SNAPSHOT=20260423T000000Z ./run.sh` (Rust patch version + rustup-init pinned in-recipe). dstack-vmm + the guest OS image stay v0.5.8 (measurements pinned on-chain; VMM bump tracked in #3445). - Add docker-compose-v2 + docker-buildx to prerequisites (run.sh uses docker compose). - Recommend a self-hosted local PCCS for the key provider in production (avoids a third-party single point of failure on the attestation path). - Add troubleshooting for `AESM service returned error 44` (platform not registered with Intel -> enable SGX Auto MP Registration). Closes #3153
82f47a8 to
e793ed8
Compare
Closes #3153
main changes:
Replaces the temporary manual
Dockerfile.key-providerpatch (#3152) with the upstreamed build-arg mechanism in dstack v0.5.11 (Dstack-TEE/dstack#672), so operators reproduce the canonical key-providermr_enclavewithout editing files.key-provider-build/from a v0.5.11git worktree:APT_SNAPSHOT=20260423T000000Z ./run.sh(Rust patch +rustup-initpinned in-recipe).dstack-vmm+ the OS image stay v0.5.8 (measurements pinned on-chain; VMM bump tracked in Move dstack-vmm (and decide on the guest OS image) to v0.5.11 #3445).docker-compose-v2+docker-buildxto prerequisites (run.shusesdocker compose).AESM service returned error 44→ platform not registered with Intel (enable SGX Auto MP Registration).some other small doc change have sneaked in as well