-
Notifications
You must be signed in to change notification settings - Fork 207
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
(bug): context not set for using docker-desktop #2901
Comments
I think it's related to something here |
Hello :) |
Hi @SoniaisMad, are you currently working on this? I was trying to reproduce the problem, I've both Docker CE and Docker Desktop in my Ubuntu and it seems that when we run I've made some tests and it seems that just getting the current context from the users Docker solves the problem, I don´t know if I'm missing something, can you help me? @schristoff
|
@HeavyBR Go ahead, i haven't started to work on this, so feel free to submit a PR. |
Ran into this and submitted a potential fix. ^ |
Describe the bug
When Porter tries to interact with Docker we get an error about the docker context needing to be set to default - if we are docker desktop users our context by default will be on docker-linux not default.
Expected behavior
Users should not have to switch their
docker context
when using Porter. We should grab the current context during runtime. I think this is due to something being hardcoded in CNAB and how it is using docker, but I'm not sure.The text was updated successfully, but these errors were encountered: