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

Add OrbStack instructions #607

Open
jorgemoralespou opened this issue Nov 13, 2024 · 2 comments
Open

Add OrbStack instructions #607

jorgemoralespou opened this issue Nov 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jorgemoralespou
Copy link
Collaborator

Describe the bug

When creating a cluster in OrbStack, we run into the same issue as with Colima, so instructions need to detail this:

In quick-start-guide.yaml doc we need to update:

In case you are using [Colima](https://github.com/abiosoft/colima) or [OrbStack](https://orbstack.dev/), you need to add the following lines to the educates configuration file:

$ educates local config edit
localKindCluster:
  listenAddress: 0.0.0.0

Additional information

No response

@jorgemoralespou
Copy link
Collaborator Author

It seems that if both Orbstack and Docker are installed, then the Docker context mechanism does not work for docker golang library, so that one will need to set the DOCKER_HOST to the Orbstack socket which can be fetched via docker context inspect orbstack -f json | jq -r ".[0].Endpoints.docker.Host"

@jorgemoralespou
Copy link
Collaborator Author

Because of this moby/moby issue (moby/moby#42650) it seems that in order to use the current selected context, and not the client.NewClientWithOpts(client.FromEnv) but rather create an Opts struct with the values from the current context, one would need to use the Docker cli (or some logic from it), so it seems complicated :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant