cog
592f7689 - Ping the docker daemon to check if it is up (#1838)

Commit
1 year ago
Ping the docker daemon to check if it is up (#1838) * Ping the docker daemon to check if it is up * Send a ping to the docker daemon directly using the golang docker client. * Give it 5 seconds to answer, if it doesn’t answer send a warning to the user. * Move ping from image to docker package Update ping to return error instead of printing Update ping to take context and duration arguments * Add ping checks to push, run, predict, and train subcommands --------- Co-authored-by: Mattt Zmuda <mattt@replicate.com>
Author
Parents
Loading