Go to file
ghe0 422e04a538
moved keys out of config
I believe we are currently not expecting users to change keys.
If we do, I believe we should think about the UX of changing sensitive
data in the CLI.

Also changed "signing key" to "mrsigner key", since all keys are used
for signing.
2025-03-21 02:38:20 +02:00
docker code migration 2025-03-16 22:28:19 +02:00
samples Improved app deployment process 2025-03-19 19:42:11 +05:30
scripts code migration 2025-03-16 22:28:19 +02:00
src moved keys out of config 2025-03-21 02:38:20 +02:00
.gitignore code migration 2025-03-16 22:28:19 +02:00
Cargo.lock fix: tokio block on error 2025-03-20 21:33:01 +05:30
Cargo.toml fix: tokio block on error 2025-03-20 21:33:01 +05:30
README.md code migration 2025-03-16 22:28:19 +02:00
rustfmt.toml code migration 2025-03-16 22:28:19 +02:00

DeTEE CLI

The DeTEE CLI will allow you to create VMs and containers on the DeTEE decentralized cloud network. All services running on this network are protected through Trusted Execution Environments (TEEs), meaning that the hardware provide will not be able to modify the software or read the data.

Installing the DeTEE CLI

To use the CLI, just start a container:

mkdir -p ~/.detee/container_volume/cli
mkdir -p ~/.detee/container_volume/.ssh
docker run --pull always -dt --name detee-cli \
    --volume ~/.detee/container_volume/cli:/root/.detee/cli:rw \
    --volume ~/.detee/container_volume/.ssh:/root/.ssh:rw \
    --entrypoint /usr/bin/fish detee/detee-cli:latest

The commands above will create a container that will stay alive on your system, and persistent relevant account data. Any time you want to use the CLI, run:

docker exec -it detee-cli fish

First time configuration

Inside the container, configure the accounts for your session:

ssh-keygen
# Hit enter a few times.
detee-cli account ssh-pubkey-path /root/.ssh/id_ed25519.pub
detee-cli account brain-url http://164.92.249.180:31337

VM creation

Before creating a VM, you will need Loyalty Points from DeTEE. During the testnet phase, these are airdropped to active community members. If you don't have any points, make sure you contact the team the Discord server.

To deploy a VM:

# arch
detee-cli vm deploy
# ubuntu
detee-cli vm deploy --distro ubuntu
# fedora
detee-cli vm deploy --distro fedora

Resources