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.
A get-to-it-eventually kind of continuation from #505 (comment)
sudo fleetctl previewworks every time you run it on macOS.fleetctl previewworks every time you run it on macOS -- EXCEPT for the first time.This is about making
fleetctl previewwork every time, without thesudoand without editing~/.docker/config.jsonto 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.