Skip to main content

Docker

First Steps

This sections guides you through the process of installing all tools and deploying your own instance of Enclave.

Note: Enclave is currently in developer preview. It's perfect for experimentation and evaluation, but not yet recommended for production use cases.

Encl CLI Installation​

You want to control your Enclave instance directly from the terminal? One way to interact with Enclave is through our command-line interface (CLI). The CLI allows you to manage your Enclave instance, deploy blueprints, and monitor their status.

Note: The CLI is an early preview in order to fully manage your instance, you will need to use the Enclave Console (Web UI) or the REST API for now.

INSTALL_DIR="~/.local/bin" sh <(curl -L https://raw.githubusercontent.com/EnclaveRunner/cli/main/install.sh)

Docker-Compose Installation​

The easiest way to get started with Enclave is to use our docker-compose setup. This will allow you to quickly deploy an instance of Enclave on your local machine.

  1. Clone the repository:
git clone https://github.com/EnclaveRunner/landscape.git
  1. Navigate to the docker-compose directory:
cd docker-compose
  1. Start the Enclave instance:
docker-compose up -d
  1. Access the Enclave Console (Web UI) at http://localhost:8091 and log in with the default credentials (username: enclave, password: enclave).

Monitoring​

By default Enclave is configured to use and spin up its own monitoring stack which includes:

  • Prometheus for metrics collection
  • Grafana for metrics visualization
  • Cadvisor for container monitoring
  • Loki for log aggregation
  • Alloy for distributed tracing
  • PGAdmin for graphical database management

If you just want to use Enclave without the monitoring stack, you can simply comment out the monitoring compose in the docker-compose.yml file like this:

include:
- docker-compose.enclave.yaml
# - docker-compose.monitoring.yaml

networks:
internal: