-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the crash:
If the context defined in the environment variable DOCKER_CONTEXT doesn't exist, ccManager crashes with the following error:
Failed to initialize: unable to resolve docker endpoint: context "desktop-linux": context not found: open /Users/xxxxx/.docker/contexts/meta/fe9c6bd7a66301f49ca9b6a70b217107cd1284598bfc254700c989b916da791e/meta.json: no such file or directory
Steps to reproduce:
- Set the environment variable
DOCKER_CONTEXTto a context name that does not exist. - Start ccManager.
Expected behavior:
ccManager should handle missing contexts gracefully and not crash, possibly by displaying a clear error message or falling back to a default context.
Actual behavior:
The application crashes as shown above.
Additional info:
- Please add handling for missing Docker contexts to avoid crashing.
- Example path:
/Users/xxxxx/.docker/contexts/meta/...
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working