You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is because of the panic! in state.rs while trying to set up docker. I'm just guessing, but AppState might want to find a way to still create a Docker struct. Not sure. I did try manipulating AppState to use an Optional or Result<Docker, E>, but I think this would only work if the commands try to update the AppState's docker each time it encounters a None/Error from the Optional/Result.
Clearly without any changes dockyard works fine when docker stops once dockyard is running -- I tested this by running colima stop after dockyard had started up. The ping interval could be a bit tighter, the UI has issues when navigating/using actions before the 30s ping kicks in to force the error page, but that's a separate thing. But this seems to mean if the docker struct is correct, dockyard doesn't actually need docker to be up, at least to display the error as expected. Unfortunately, the methods in bollard return an error if docker.sock isn't there, rather than just returning the (possibly?) future-viable struct that could later be used if/when the docker.sock is there.
If docker is not running and try do start dockyard then app does not start. It is observed on Macos but may not be specific to it.
Expected Behavior
App should start and show the message that it is not able to connect to docker
Current Behavior
App does not start
Possible Solution
May be it has do something with initializing docker connection start the start
Steps to Reproduce
Context (Environment)
Detailed Description
If docker is not running and try do start dockyard then app does not start. It is observed on Macos.
Possible Implementation
The text was updated successfully, but these errors were encountered: