Install Supra CLI with Docker
Installation of the Supra CLI using Docker.
Last updated
Installation of the Supra CLI using Docker.
Last updated
Open your terminal and cd
to the directory on your machine where you wish to setup the CLI. For convenience, we recommend creating a directory named supra
within your documents
directory. However, this is entirely arbitrary and there will be no repercussions for choosing differently.
Grab the latest compose.yaml
file with the following command. If you want to inspect the file first, you can .
Within the directory containing the compose.yaml
file, execute the following command:
Once executed, the supra_cli
container will be created. If a supra_configs
directory does not already exist within your current working directory, one will be created for you. You can confirm that the container is running by executing docker ps --all
. This command will output all docker containers that exist on your machine, whether they are running or stopped.
To interact with the Supra CLI, we must enter the shell of the container. This will allow us to execute commands within the container from our host machine.
Execute the following command:
Once inside, execute the ls
command to gain a simple understanding of the file system. The displayed configs
directory is bind mounted to the supra_configs
directory on your host machine. These directories are shared/linked between your host machine and the container.