Skip to content

engine/install: Document password-gated Docker access - #25980

Merged
vvoland merged 1 commit into
docker:mainfrom
vvoland:docker-group
Sep 4, 2026
Merged

engine/install: Document password-gated Docker access#25980
vvoland merged 1 commit into
docker:mainfrom
vvoland:docker-group

Conversation

@vvoland

@vvoland vvoland commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Description

Explain how to keep a user out of the docker group and enter a temporary Docker-enabled shell with newgrp.

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

Explain how to keep a user out of the docker group and enter a temporary
Docker-enabled shell with newgrp.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@vvoland vvoland self-assigned this Aug 31, 2026
@netlify

netlify Bot commented Aug 31, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit b029cfd
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a955cdd7c86e1000749f753
😎 Deploy Preview https://deploy-preview-25980--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added area/engine Issue affects Docker engine/daemon area/install Relates to installing a product labels Aug 31, 2026
@vvoland
vvoland marked this pull request as ready for review August 31, 2026 10:57
@vvoland
vvoland requested a review from dvdksn as a code owner August 31, 2026 10:57
@vvoland
vvoland requested a review from docker-agent August 31, 2026 10:57
@vvoland
vvoland requested a review from thaJeztah August 31, 2026 13:20
@vvoland vvoland added this to the engine/29.8.0 milestone Sep 1, 2026
@vvoland
vvoland requested a review from tianon-sso September 3, 2026 18:26

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

perhaps @tianon has time to have a peek 😅

@tianon

tianon commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This is really interesting, and I honestly didn't realize it's even supported -- however, I'm not sure I understand what benefit this has over sudo? To me, it sounds just like sudo, but spelled a different way (with a shared password, instead of an individual-user password).

To elaborate, this isn't any more secure, or even differently secure -- it's the exact same as giving the user sudo access.

@vvoland

vvoland commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

The main benefit of this over sudo is not running the docker cli as root too.

@vvoland
vvoland merged commit a6e253f into docker:main Sep 4, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/engine Issue affects Docker engine/daemon area/install Relates to installing a product

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants