Include additional folder for the container volume mounts in `dind-rootless` variant
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker
- Domain
- devops
Research direction
Start by locating the Dockerfile or build entry point for the dind-rootless variant and compare it with the shown Dockerfile. Confirm the intended mount directory and verify that the built image contains it with ownership suitable for the rootless user; the image build should complete successfully.
Written by the indexing model from the issue text.
Description
I have a k8s pod consisted of an app container and a dind container and want to share the dind volumes to the app container. It would be nice to create a folder in the dind-rootless image for that (/home/rootless/data perhaps? /home/rootless/volumes?).
As of now, I need to build another image from dind-rootless to make permissions work across images since there is no way to set up permissions during the volume mount (I'm using a non-root user on the app container as well):
FROM docker:19.03.11-dind-rootless
RUN mkdir -p /home/rootless/volumes \
&& chown -R rootless /home/rootless/volumes
Not a huge deal, however, it seems like a common use-case and perhaps it's reasonable to include in the dind-rootless image itself.
- Dominant language
- Shell
- Stars
- 1.5k
- Forks
- 644
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker-library/docker
-
Drop modprobe hack Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker-library/docker#524 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker-library/docker#318 · 14 comments ·
-
Request
Difficulty 4/5 3-5 days Newbie friendliness 42/100
docker-library/docker#306 · 13 comments · 52 reactions ·
All issues in docker-library/docker
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
technical-debt
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ll7/robot_sf_ll7#9560 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100