1.8 KiB
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
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
- DeTEE CLI docs: https://docs.detee.ltd/cloud/cli.html.
- TEE security proof: https://detee.ltd/hacker-challenge.