How to manage multiple colima profiles #1475
paulodiovani
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Containers and images are not shared across instances. If you only want Kubernetes without interacting with the Docker within the instance, you can use the Containerd runtime instead, to avoid the clash with the other Docker instance(s). Regardless, you can always switch active docker context. # the default instance
docker context use colima
# other instances have the 'colima' prefix for the context name.
docker context use colilma-kube |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I might be misunderstanding how to use colima with multiple concurrent profiles, but I didn't find any reference on the docs on how to do it right.
Use case: docker + kubernetes profiles
This works as expected so far. We can use
dockerandkubeclt, which is set to thecolima-kubecontext automatically.Problems arise when I want to stand down the kubernetes instance to save resources with I'm done working with it.
This successful stops the
kubeinstance, but also kills the docker socket:Expected behavior
dockercommands to first docker runtime instance, if it existsCurrent behavior
dockercommand stops workingcolima restartseems to update docker socketAdditional information
Beta Was this translation helpful? Give feedback.
All reactions