added new docker image to CLI docs
This commit is contained in:
parent
b7a0c29fb7
commit
8bbeda5895
@ -4,16 +4,22 @@ For obvious reasons, the CLI is the first end-user app developed as part of our
|
|||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
The DeTEE CLI is available as a container. First make sure you [install docker](https://docs.docker.com/desktop/).
|
The DeTEE CLI is available as a container image. In order to use it, first make sure you [install docker](https://docs.docker.com/desktop/).
|
||||||
|
|
||||||
Once docker is installed, use the following command to run the CLI:
|
After that, download and run the [DeTEE CLI docker image](https://hub.docker.com/r/detee/detee-cli):
|
||||||
```
|
|
||||||
|
```bash
|
||||||
|
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
|
||||||
docker run -it --name detee-cli --entrypoint /usr/bin/fish $IMAGE_NAME
|
docker run -it --name detee-cli --entrypoint /usr/bin/fish $IMAGE_NAME
|
||||||
|
docker exec -it detee-cli fish
|
||||||
```
|
```
|
||||||
|
|
||||||
> Currently, the `IMAGE_NAME` is not public. For a private demo, please [contact us](https://discord.gg/DcfYczAMtD).
|
> DeTEE CLI features completion for bash, zsh and fish and you are heavily encouraged to use completion. You can also enable extra logs by adding the environment variable `LOG_LEVEL=INFO` or `LOG_LEVEL=DEBUG`
|
||||||
|
|
||||||
DeTEE CLI features completion for bash, zsh and fish and you are heavily encouraged to use completion. You can also enable extra logs by adding the environment variable `LOG_LEVEL=INFO` or `LOG_LEVEL=DEBUG`
|
|
||||||
|
|
||||||
### Configure accounts
|
### Configure accounts
|
||||||
|
|
||||||
@ -27,17 +33,18 @@ detee-cli account brain-url http://164.92.249.180:31337
|
|||||||
|
|
||||||
Also, get your public key:
|
Also, get your public key:
|
||||||
```
|
```
|
||||||
detee-cli account
|
root@e55218c23c44 /# detee-cli account
|
||||||
~ $ detee-cli account
|
Config path: /root/.detee/cli/cli-config.yaml
|
||||||
Config path: /home/ghe0/.detee/cli/cli-config.yaml
|
The brain URL is: http://164.92.249.180:31337
|
||||||
The brain URL is: http://detee-build-1:31337
|
SSH Key Path: /root/.ssh/id_ed25519.pub
|
||||||
SSH Key Path: /home/ghe0/.ssh/id_ed25519.pub
|
Wallet public key: 45Pyv9hRfub43NyRrYv95MhZs1Wrm8sj3RhBvA3F1Bvr
|
||||||
DeTEE wallet key: x52w7jARC5erhWWK65VZmjdGXzBK6ZDgfv1A283d8XK
|
Account Balance: 19.9796 LP available, 0 LP locked
|
||||||
Account Balance: 980.16022 LP available, 0 LP locked
|
Wallet secret key path: /root/.detee/cli/secret_detee_wallet_key
|
||||||
LP secret key path: /home/ghe0/.detee/cli/secret_detee_wallet_key
|
|
||||||
```
|
```
|
||||||
|
|
||||||
And give it to us on Discord so that we can give you your airdrop (assuming you have followed [the tutorial](./access.md)).
|
And send the wallet address to us on Discord so that we can give you your [airdrop](https://docs.detee.ltd/cloud/airdrops.html).
|
||||||
|
|
||||||
|
> Assuming you have mounted the volumes, your secrets are saved to `~/.detee/container_volume/`.
|
||||||
|
|
||||||
### Deploy a VM
|
### Deploy a VM
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user