Skip to content

Support first-time fleetctl preview usage on macOS without needing sudo #507

@mikermcneil

Description

@mikermcneil

A get-to-it-eventually kind of continuation from #505 (comment)

  • sudo fleetctl preview works every time you run it on macOS.
  • fleetctl preview works every time you run it on macOS -- EXCEPT for the first time.

This is about making fleetctl preview work every time, without the sudo and without editing ~/.docker/config.json to remove "credsStore": "desktop".

Theory

Seems like something we're doing w/ docker is maybe expecting docker-credential-desktop to be in the process-executing user's path, but it's only available in the path with sudo? And presumably the reason why removing credsStore works is because it just skips whatever Docker is trying to do with docker-credential-desktop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions