docker run -d \
-e POSTGRES_DB=ai
-e POSTGRES_USER=ai
-e POSTGRES_PASSWORD=ai
-e PGDATA=/var/lib/postgresql/data/pgdata
-v pgvolume:/var/lib/postgresql/data
-p 5532:5432
–name pgvector
agnohq/pgvector:16
At line:8 char:5
Missing expression after unary operator ‘–’.
At line:8 char:5
Unexpected token ‘name’ in expression or statement.
+ CategoryInfo : ParserError: ( , ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingExpressionAfterOperator
Monali
February 14, 2025, 6:28am
2
Hi @sunnyAgno
Thanks for reaching out and for using Agno! I’ve looped in the right engineers to help with your question. We usually respond within 24 hours, but if this is urgent, just let us know, and we’ll do our best to prioritize it.
Appreciate your patience—we’ll get back to you soon!
Hi @sunnyAgno ,
Can you please trying running the below script instead. There is a ‘-’ missing before name in the command you are using.
docker run -d \
-e POSTGRES_DB=ai \
-e POSTGRES_USER=ai \
-e POSTGRES_PASSWORD=ai \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v pgvolume:/var/lib/postgresql/data \
-p 5532:5432 \
--name pgvector \
agnohq/pgvector:16
You also find the corrected script here .
Thank you @monalisha , I believe to execute these statements, I need to install local Docker desktop correct?
Hi @sunnyAgno you are right , you will need to have docker desktop running , to run the above command.