1. Docs

Docker

Daestro let’s you run your own compute workloads on your own infrastructure. You can use Daestro BYOC with Docker to do just that.

Prerequisites

  • Create BYOC type Compute Environment
  • Make sure above compute environment is part of a active Job Queue
  • Create an Auth Token from Compute Environment -> New Compute

Docker Run

DAESTRO_AUTH_TOKEN and mapping /var/run/docker.sock is required for Daestro Agent to work. “appdata” volumen makes sure Daestro Agent data is persisted on the host.

docker run --name daestro-agent
  -e DAESTRO_AUTH_TOKEN="<token>"
  -v /var/run/docker.sock:/var/run/docker.sock
  -v appdata:/var/lib/daestro-agent
  --network host
  daestro/daestro-agent:latest

Docker Compose

Or if you prefer using docker compose.

services:
  daestro-agent:
    image: daestro/daestro-agent:latest
    environment:
      - DAESTRO_AUTH_TOKEN=<your-daestro-auth-token>
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - appdata:/var/lib/daestro-agent

volumes:
  appdata: