Rootless mode does not mention new file area
Is this a docs issue?
- [X] My issue is about the documentation content or website
Type of issue
I can't find what I'm looking for
Description
The rootless-mode documentation makes a brief mention of the location of all the docker files changing after following the rootless-mode steps. I didn't noticed this until looking for volumes that were being created. Its a little difficult for a new person to docker to follow and with it being a recommended step for security reasons I think clarification would help.
Location
https://docs.docker.com/engine/security/rootless/
Suggestion
I would recommend something to clarify the new location or if there is possible fix to make it back to the original location.
My volumes are being created in /home/matt/.local/share/docker/
I wonder if there is a way to fix this so that docker uses the documented location. Something along the lines of
sudo chown -R user:group /var/lib/docker
Something like the answer found here to also show that the user can put the files in a location that they choose instead.
https://stackoverflow.com/questions/74708774/how-to-change-data-directory-for-docker-rootless
I tried to use the methods mentioned in the namespace section but all of those required the docker instance to be running in root mode.
There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.
Prevent issues from auto-closing with a /lifecycle frozen comment.
/lifecycle stale
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
/lifecycle locked