docs icon indicating copy to clipboard operation
docs copied to clipboard

Rootless mode does not mention new file area

Open fodym67 opened this issue 2 years ago • 2 comments

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

fodym67 avatar Dec 06 '23 06:12 fodym67

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.

fodym67 avatar Dec 06 '23 09:12 fodym67

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

docker-robot[bot] avatar Mar 15 '24 01:03 docker-robot[bot]

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

docker-robot[bot] avatar Apr 28 '24 03:04 docker-robot[bot]