Installation Guide
This guide will help you install Trailer.dev using Docker or pre-built binaries.
Installation Methods
Using Docker (Recommended)
- Pull the official image:
bash
docker pull trailerdev/trailer:latest- Run the container:
bash
docker run -d \
--name trailer \
-p 8080:8080 \
-v /var/run/docker.sock:/var/run/docker.sock \
trailerdev/trailer:latestUsing Pre-built Binaries
Download the latest release for your platform from the GitHub releases page
Move the binary to your PATH:
bash
sudo mv trailer /usr/local/bin/System Requirements
Hardware Requirements
- RAM: <100 MB for the container
- Storage: 30-60 MB for the container
- Note: Additional resources required based on your ML workloads
Software Requirements
- Docker 20.10 or later (for container deployment)
- Linux kernel 5.4 or later
- NVIDIA drivers 450.80.02 or later (for GPU support)
Configuration
- Create a configuration file:
bash
mkdir -p ~/.config/trailer
touch ~/.config/trailer/config.yaml- Add basic configuration:
yaml
server:
port: 8080
host: "0.0.0.0"
agent:
type: "docker"
max_workspaces: 10Verification
- Check the container status:
bash
docker ps | grep trailer- Verify the service is running:
bash
curl http://localhost:8080/health- Check the logs:
bash
docker logs trailer