Adam Outler 7f1c9230c7 Update rootless.md (#19992)
* Update rootless.md

I just accomplished install via both manual and docker-ce-rootless-extras packages on Ubuntu 24.04.  There were some pain points which I hope to address here and make this run more smoothly for others. 

* As a `$` user, you cannot `cat<< EOF > /etc/apparmor.d`.  The existing command should never work because you cannot be the user and access the apparmor folder at the same time. So we create the file and then move the file.  This separates into creation which should be done as a user, and moving which requires sudo access.  If the move command fails, that's a basic issue which can be resolved by an admin. 
* I added missing apt-get commands which may be required on Ubuntu.  I noticed `dbus-user-session` is a default package in Ubuntu and it was mentioned. So i took the liberty to add uidmap which is absolutely required, and systemd-container may be necessary for accessing via non-login terminals.
* The command `sudo systemctl disable --now docker.service docker.socket` was insufficient and requires a reboot to activate.  The `sudo systemctl stop docker.service docker.socket` will immediately shut down the docker service. 
* I added a note about not shutting down the docker service.
* Troubleshooting now includes an installation error where the user was a pure service account without login capabilities. `systemd-container` and `machinectl` is required when not logging in via terminal with user/pass.

* Add space per lint check

* Update content/engine/security/rootless.md

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>

* Update content/engine/security/rootless.md

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>

* Update content/engine/security/rootless.md

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>

* Update content/engine/security/rootless.md

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>

* specific message

* don't stop the service, remove the dead socket

* Lint issue

---------

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-05-09 06:34:29 +02:00
2024-05-09 06:34:29 +02:00
2024-04-24 18:14:02 +02:00
2023-08-22 09:41:02 +02:00
2023-08-22 09:41:02 +02:00
2023-08-22 09:41:02 +02:00
2024-02-15 18:25:53 +01:00
2024-01-06 14:21:36 +11:00
2024-04-23 10:48:57 +02:00
2024-05-08 20:07:17 +02:00
2024-04-30 12:32:59 +02:00
2016-09-30 01:51:56 -07:00
2024-03-06 14:17:27 +01:00
2024-04-23 10:48:57 +02:00

Docs @ Docker

Welcome to Docker Documentation

Welcome to the Docker Documentation repository. This is the source for https://docs.docker.com/.

Feel free to send us pull requests and file issues. Our docs are completely open source, and we deeply appreciate contributions from the Docker community!

Provide feedback

Wed love to hear your feedback. Please file documentation issues only in the Docs GitHub repository. You can file a new issue to suggest improvements or if you see any errors in the existing documentation.

Before submitting a new issue, check whether the issue has already been reported. You can join the discussion using an emoji, or by adding a comment to an existing issue. If possible, we recommend that you suggest a fix to the issue by creating a pull request.

You can ask general questions and get community support through the Docker Community Slack. Personalized support is available through the Docker Pro, Team, and Business subscriptions. See Docker Pricing for details.

If you have an idea for a new feature or behavior change in a specific aspect of Docker or have found a product bug, file that issue in the project's code repository.

We've made it easy for you to file new issues.

  • Click New issue on the docs repository and fill in the details, or

  • Click Request docs changes in the right column of every page on docs.docker.com and add the details, or

    Request changes link

  • Click the Give feedback link on the side of every page in the docs.

    Docs feedback on each page

Contribute to Docker docs

We value your contribution. We want to make it as easy as possible to submit your contributions to the Docker docs repository. Changes to the docs are handled through pull requests against the main branch. To learn how to contribute, see CONTRIBUTING.md.

Copyright 2013-2023 Docker, Inc., released under the Apache 2.0 license .

Description
No description provided
Readme Apache-2.0 896 MiB
Languages
Markdown 97.2%
HTML 1.8%
CSS 0.4%
JavaScript 0.2%
Go 0.1%
Other 0.1%