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

Set docker context when Rancher Desktop starts #7712

Open
giggio opened this issue Nov 1, 2024 · 0 comments
Open

Set docker context when Rancher Desktop starts #7712

giggio opened this issue Nov 1, 2024 · 0 comments

Comments

@giggio
Copy link

giggio commented Nov 1, 2024

Problem Description

I'm running Rancher Desktop as well as Docker Desktop for Windows and when the latter starts it changes the docker context to docker-linux or docker-windows. When I close it, it stays set.
Rancher Desktop seems to work with the default context. When I start Rancher Desktop it does not set the context, so any command issued in a terminal will fail until the context is reset to default with docker context use default.

Proposed Solution

I see two paths:

  1. When Rancher desktop starts it should set the docker context to default.

  2. Another good option would be to use the context Docker Desktop uses, called docker-linux, and set to: npipe:////./pipe/dockerDesktopLinuxEngine.

Additional Information

I'm on 1.16.0. I use both Windows and Linux containers.

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

No branches or pull requests

2 participants