Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildx use default doesn't switch to local #30

Closed
tiborvass opened this issue Apr 17, 2019 · 1 comment · Fixed by #39
Closed

buildx use default doesn't switch to local #30

tiborvass opened this issue Apr 17, 2019 · 1 comment · Fixed by #39

Comments

@tiborvass
Copy link
Collaborator

When a remote node is added, one expects buildx use default to switch back to local, but buildx ls still shows the remote builder as current.

@tonistiigi
Copy link
Member

currently when switching to a docker context with buildx use we will show https://github.com/tonistiigi/buildx/blob/master/commands/use.go#L42 . I wonder if we should show same in this case and leave current behavior of buildx use default only to the case where currentcontext==default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants