Step 3: Deploy the enclave
Deploy the enclave image using:
# Replace <WALLET_PRIVATE_KEY> with the private key of your wallet
# For amd64
oyster-cvm deploy --wallet-private-key <WALLET_PRIVATE_KEY> --duration-in-minutes 35 --docker-compose docker-compose.yml --arch amd64
# For arm64
oyster-cvm deploy --wallet-private-key <WALLET_PRIVATE_KEY> --duration-in-minutes 35 --docker-compose docker-compose.yml
Make a note of the "Computed image ID" printed in the logs. This uniquely identifies your application, defined by the underlying base enclave image, the Docker Compose file, and other initialization parameters.
Wait for the command to finish and print the enclave IP.
important
The --duration-in-minutes flag specifies how long the enclave will remain deployed on the Oyster platform. In this example, the enclave is set to run for 35 minutes, after which it will be automatically terminated.