Loading...
Loading...
lattice template use lattice/dockerThis will create a new workspace using this template configuration.
Deploy containerized AI agents using Docker with this agent definition template.
The VM you run Lattice on must have a running Docker socket and the lattice user must be added to the Docker group:
# Add lattice user to Docker group
sudo adduser lattice docker
# Restart Lattice server
sudo systemctl restart lattice
# Test Docker
sudo -u lattice docker ps
This agent definition provisions the following resources:
/home/lattice)This means, when the workspace restarts, any tools or files outside of the home directory are not persisted. To pre-bake tools into the agent container (e.g. python3), modify the container image.
Note This template is designed to be a starting point! Edit the Terraform to extend the template to support your agent use case.
Edit the Dockerfile and run lattice templates push to update agent definitions.