NFS mount for data directory of postgresql 9.5 container
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker, postgresql
- Lĩnh vực
- databases, infrastructure
Hướng nghiên cứu
Start with the PostgreSQL 9.5 environment variables and volumes documentation linked in the issue, then inspect the supplied Docker command, NFS export settings, and setfacl failure. Reproduce the mount and permission behavior with the stated image. Done means documenting a supported configuration or confirming the limitation and its required workaround.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Trying to share NFS mount from host machine, as data directory to postgresql 9.5 container
run command:
docker run -d --name postgres -v /srv/db2/cccp/:/var/lib/pgsql/data -p 5432:5432 -e "POSTGRESQL_USER=cccp" -e "POSTGRESQL_PASSWORD=cccp" -e "POSTGRESQL_DATABASE=cccp" registry.centos.org/sclo/postgresql-95-centos7
here /srv/db2/cccp/ is NFS share mounted on the host system.
NFS server exports a directory with config
/nfsshare *(rw,sync,no_subtree_check,all_squash,anonuid=0,anongid=0)
the docs mentions using setfacl command to work around with postgresql container dir ownership behavior, however while running setfacl command as mentioned, it prompts Operation Not Permitted.
[root@client ~]# setfacl -m u:26:-wx /srv/db2/cccp/
setfacl: /srv/db2/cccp/: Operation not supported
Note: Changing NFS server config to have uid=26 works for postgresql container, however, how does one manage UID/GID consistency all over the place then?
- Ngôn ngữ chính
- PLpgSQL
- Star
- 178
- Fork
- 220
- Merge trung bình
- 10 giờ 28 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sclorg/postgresql-container
-
PostgreSQL 16 images based on EL10 have an incorrect POSTGRESQL_PREV_VERSION setCó thể đã có người làm @ShimShtein đã nhận 127 ngày trước. Đang mở
Độ khó 2/5 1-2 ngày Mức phù hợp với người mới 72/100
sclorg/postgresql-container#661 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
sclorg/postgresql-container#669 · 1 bình luận ·
-
c10s images are not multi-arch while their corresponding c9s images are.Có thể đã có người làm @kkyrazis đã nhận 87 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
sclorg/postgresql-container#668 ·
-
Dockerfile failingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
sclorg/postgresql-container#656 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
sclorg/postgresql-container#654 ·
Tất cả issue của sclorg/postgresql-container
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Huber-group-EMBL/Rarr#294 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: Trinitas TV LogoĐang mởcheck:passed logos:add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Set cache_ok = True on GUID TypeDecorator to enable SQLAlchemy query cachingCó thể đã có người làm @patelshivani2283-lab đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
fedora-infra/anitya#2157 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
filecoin-project/curio#1632 ·
Maintainer thường phản hồi trong vòng 1 ngày