pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #646: Changing User and Group ID from 999 to Custom ID.
3+ messages / 2 participants
[nested] [flat]

* [pgvector/pgvector] issue #646: Changing User and Group ID from 999 to Custom ID.
@ 2024-08-19 12:25 "syed-al (@syed-al)" <noreply+syed-al@github.com>
  0 siblings, 0 replies; 3+ messages in thread

From: syed-al (@syed-al) @ 2024-08-19 12:25 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

I am facing the difficulty of the data folder which is mapped to host system from the pgvector docker, changing the owner. The pgvector docker creates a new user `postgres` with uid and gid `999`. The value of 999 on the host system is taken by something else, hence on the host the owner of the folder is changing. 

To avoid this I would want to provide my local host user as a parameter to the pgvector docker such that it used that uid and gid instead of the `999` present in the dockerfile.

Also, it would be helpful if you can update the dockerfile in the git repo to the latest docker file being used in the docker hub.

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] issue #646: Changing User and Group ID from 999 to Custom ID.
@ 2024-08-19 17:35 ` "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2024-08-19 17:35 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @syed-al, these values are set in the [Dockerfile](https://github.com/docker-library/postgres/blob/3a94d965ecbe08f4b1b255d3ed9ccae671a7a984/16/bookworm...) for the `postgres` image, so any changes would need to happen there.

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] issue #646: Changing User and Group ID from 999 to Custom ID.
@ 2024-08-19 17:35 ` "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2024-08-19 17:35 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

@ankane closed this.

^ permalink  raw  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2024-08-19 17:35 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-08-19 12:25 [pgvector/pgvector] issue #646: Changing User and Group ID from 999 to Custom ID. "syed-al (@syed-al)" <noreply+syed-al@github.com>
2024-08-19 17:35 ` "ankane (@ankane)" <noreply+ankane@github.com>
2024-08-19 17:35 ` "ankane (@ankane)" <noreply+ankane@github.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox