livekit-cli icon indicating copy to clipboard operation
livekit-cli copied to clipboard

Can not deploy (lk agent create) on macos

Open arsen opened this issue 3 months ago • 1 comments

When i run lp agent create and select the region i get the following error

lk agent create
Using default project [test-project]
Creating new agent
Using secrets file [.env.local]
Detected project type [python.uv]
Using existing Dockerfile
Using existing .dockerignore
[+] Building 0.2s (2/2) FINISHED                                                                                                                                                                                              
 => [internal] load remote build context                                                                                                                                                                                 0.1s
 => ERROR copy /context /                                                                                                                                                                                                0.0s
------
 > copy /context /:
------
unable to create agent: build failed for iad.ocir.io/axyci3pr8vxm/production-cloud-agents:p-60i1lyxcm6q-ca-qmenimdhdh2f-v20251107003434: failed to solve: failed to read dockerfile: failed to Lchown "/Dockerfile" for UID 1101729729, GID 1241778005: lchown /Dockerfile: invalid argument

I'm on CLI version lk version 2.12.8

I am using the agent-starter-python project

arsen avatar Nov 07 '25 00:11 arsen

I'm getting the same thing

chaseWillden avatar Nov 26 '25 18:11 chaseWillden