Closed sammanadh closed 2 years ago
👏 Will look it over shortly
This will be a bit more complicated than this. The main things we want to detect for the user are --
I think you should do these checks in a useInterval
that starts up when Validator
page is loaded, and is cancelled when Docker is detected to be running (thus, exposing the real page). If Docker is not installed or detected, we'd show only a prompt which warns the user either "Docker is not installed, please install Docker", or "Docker is installed but not running, please start Docker".
Curious to know @SvenDowideit's thoughts on the matter
Does that all make sense?
@nathanleclaire I guess by docker not running
you mean to check if the docker deamon is up or not. right?
@nathanleclaire I guess by docker not running you mean to check if the docker deamon is up or not. right?
Correct! The daemon should be up and ready to receive a request on the Docker socket.
going to close this one in favor of https://github.com/workbenchapp/solana-workbench/pull/252
replaced by #252
Two cases for docker error handled with appropriate messages