Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test / document / improve behavior when you run two enclaves at once #63

Open
russellhaering opened this issue Oct 19, 2022 · 1 comment

Comments

@russellhaering
Copy link
Contributor

No description provided.

@robszumski
Copy link
Contributor

robszumski commented Oct 27, 2022

Looking into this briefly. I would not have guessed that the first thing you could encounter would be our own port conflicts...but at least it fails fast? Never even attempts to touch an enclave :)

First enclave:

$ docker run  \
  -d  \
  --name enclave  \
  --device=/dev/nitro_enclaves:/dev/nitro_enclaves:rw  \
  -p 8001:8001  \
   us-docker.pkg.dev/edgebit-containers/containers/no-fly-list:enclave-latest
# running perfectly

Second enclave:

$ docker run  \
  --name enclave2  \
  --device=/dev/nitro_enclaves:/dev/nitro_enclaves:rw  \
  -p 8002:8002  \
  us-docker.pkg.dev/edgebit-containers/containers/no-fly-list:enclave-latest
 INFO  enclaver::run > starting egress proxy on vsock port 17002
 ERROR enclaver      > error running enclave: Address in use (os error 98)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants