NFS mount for data directory of postgresql 9.5 container
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- docker, postgresql
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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?
- 主要语言
- PLpgSQL
- 星标
- 178
- 派生
- 220
- 平均合并
- 10 小时 28 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sclorg/postgresql-container 的其他 Issue
-
PostgreSQL 16 images based on EL10 have an incorrect POSTGRESQL_PREV_VERSION set可能已有人在做 @ShimShtein 于 126 天前认领。 未关闭
难度 2/5 1-2 天 新手友好度 72/100
sclorg/postgresql-container#661 ·
-
难度 3/5 1-2 天 新手友好度 68/100
sclorg/postgresql-container#669 · 1 条评论 ·
-
c10s images are not multi-arch while their corresponding c9s images are.可能已有人在做 @kkyrazis 于 86 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 52/100
sclorg/postgresql-container#668 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
sclorg/postgresql-container#656 ·
-
难度 3/5 1-2 天 新手友好度 50/100
sclorg/postgresql-container#654 ·
查看 sclorg/postgresql-container 的全部 Issue
相似的 Issue
-
bug module:nodes tests
难度 2/5 1-3 小时 新手友好度 78/100
rocketride-org/rocketride-server#3020 ·
维护者通常 2 天内回复
-
redis-compat
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
masahitojp/mariamem#108 ·
维护者通常 1 天内回复
-
area: store enhancement size: S
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
Data Sources visit drilldown returns an empty visitDurationByType for Achilles 1.7+ results (query still reads analysis 211)可能已有人在做 @DG47 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复