Create and manage VMs and containers on the DeTEE decentralized cloud network.
884
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.
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. Since the software is upgrade very often,
--pull always will guarantee that you always download the latest version.
Any time you want to use the CLI, run:
docker exec -it detee-cli fish
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
You can now see your account data using detee-cli account. Example:
root@e55218c23c44 /# detee-cli account
Config path: /root/.detee/cli/cli-config.yaml
The brain URL is: http://164.92.249.180:31337
SSH Key Path: /root/.ssh/id_ed25519.pub
Wallet public key: 45Pyv9hRfub43NyRrYv95MhZs1Wrm8sj3RhBvA3F1Bvr
Account Balance: 19.9796 LP available, 0 LP locked
Wallet secret key path: /root/.detee/cli/secret_detee_wallet_key
Before creating a VM, you will need Loyalty Points in your DeTEE wallet. 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
Content type
Image
Digest
sha256:78ca342ad…
Size
761.4 MB
Last updated
about 1 year ago
docker pull detee/detee-cli