Add attempt to connect to socket before selecting it as runtime#78
Add attempt to connect to socket before selecting it as runtime#78kcq merged 1 commit intomintoolkit:masterfrom
Conversation
Signed-off-by: Evan Harris <echarris@smcm.edu>
| } | ||
|
|
||
| return DockerRuntime | ||
| return DockerRuntime // Question -> This runtime may not necessarily be available? |
There was a problem hiding this comment.
Yes, it is a good idea to check if the default/assumed runtime (when no explicit runtime param is specified) is available. A wishlist enhancement :-)
|
@eharris128 there might be another bug to investigate there... The "auto crt" logic shouldn't have picked containerd unless containerd is the only thing is installed. What's the docker socket you have in your environment? What's the docker context info? |
|
Will share these details next time I am on my dev machine. |
|
@eharris128 can you also run |
|
Either way, the
|
|
@kcq very delayed here, but I ruined the reproducibility as I upgraded to Ubuntu 24 LTS last week (in order to work with Podman - as the Ubuntu 22 LTS's installation of Podman does not work for mint). With the Ubuntu 24 LTS default docker configuration, we no longer get the issue of defaulting to containerd (when docker is installed). |
|
@eharris128 no worries :) can you create a GitHub issue with the notes from our discussion about it |


What
Why
tui -> iimagesOnCommandinvocation to usecontainerdas runtime. However, the application could not talk to this containerd socket due to permission issues. The socket was there from the perspective ofStat- but this did not guarantee sufficient access to communicate with the socket.How Tested
mint images
mint tui -> i
New Experience