Skip to content

minikube with docker driver run as root not allowed but requires root anyway #8257

Closed
@FlorianLudwig

Description

@FlorianLudwig

Steps to reproduce the issue:

  1. Run:
    $ sudo minikube start --driver=docker` 
    [...]
    The "docker" driver should not be used with root privileges.
    
  2. The solution is to create a user and grant it access to the docker socket. Granting access to the docker socket grants privileges equivalent to the root user.

Users will end up reading comments like here: #7903 (comment) and setup access to the docker socket without realizing they are granting root access to those users. By doing so minikube encourages less secure systems in practise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    co/docker-driverIssues related to kubernetes in containerkind/documentationCategorizes issue or PR as related to documentation.kind/securitysecurity issueskind/supportCategorizes issue or PR as a support question.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.long-term-supportLong-term support issues that can't be fixed in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions