incalculable-doctor-67743
10/07/2025, 6:30 AMdocker run --rm -it -v$PWD:/output livekit/generate does not generate any directory.tall-airline-16756
10/07/2025, 6:30 AMtall-airline-16756
10/07/2025, 6:31 AMdocker run --rm -it -v$PWD:/output livekit/generate isn’t creating any directory because livekit/generate isn’t a recognized or published Docker image within the LiveKit ecosystem. It seems there’s no record of this image being built, used, or distributed.
But don’t worry—LiveKit offers several helpful tools to generate configurations and Docker artifacts that might be just what you need:
• VM Deployment Configuration Generator: If you’re deploying LiveKit to a virtual machine, there’s a tool that creates a folder with all the necessary files like caddy.yaml and docker-compose.yaml. This runs locally rather than through Docker.
• Agent Deployment CLI: You can use the lk agent dockerfile command to generate a Dockerfile and .dockerignore tailored for a LiveKit Agent.
• Egress Service: The Docker image livekit/egress is designed to run the egress service using a mounted config file.
Could you share a bit more about what you’re aiming to accomplish? For instance, are you looking to set up a LiveKit server, create a new LiveKit Agent, or run the Egress service? I’d be happy to guide you to the right tool or process based on your goals.
Sources: Agent deployment CLI reference | LiveKit Docs | cmd/lk/agent.go | cmd/server/commands.go | Self-hosting the Egress Service | LiveKit Docs | magefile.goincalculable-doctor-67743
10/07/2025, 6:32 AMtall-airline-16756
10/07/2025, 6:33 AMcaddy.yaml
◦ docker-compose.yaml
◦ livekit.yaml
◦ redis.conf
◦ init_script.sh OR cloud_init.xxxx.yaml
• *Deploy to VM:*You have two options here:
a. Cloud Init Method (Easiest):
▪︎ This is supported by AWS, Azure, and Digital Ocean
▪︎ When you start the VM, just paste the contents of cloud-init.xxxx.yaml into the "User data" field
▪︎ This method has been tested on Ubuntu and Amazon Linux
a. Startup Script Method:
▪︎ This works well with Linode and Google Cloud
▪︎ Start your VM
▪︎ Copy init_script.sh to the VM
▪︎ SSH into your instance
▪︎ Run sudo ./init_script.sh
The setup uses Docker Compose and Caddy, and it supports connectivity options including VPN and firewalls (via TURN/TLS). Plus, SSL certificates are automatically provisioned through Caddy using Let's Encrypt or ZeroSSL, so you’re covered there.
If you’d like any help or run into questions with any of these steps, please don’t hesitate to reach out—I’m here to support you!
Sources: Deploy to a VM | LiveKit Docsincalculable-doctor-67743
10/07/2025, 6:36 AMtall-airline-16756
10/07/2025, 6:36 AM