As a Publisher, I want to be able to easily follow the publishing tutorial and publish an Entrypoint in a Garden. If there is an error, I want to immediately know what I need to do to fix it
When running the command garden-ai notebook start tutorial_notebook.ipynb --base-image=3.10-sklearn, as specified in the Tutorial, if I do not have the Docker daemon already running, I get the following error, preceded by a very long stack trace:
DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
This made me consider whether or not I had run the commands in the right folder (?), but discussion with Owen revealed that the issue is that the Docker daemon isn't running.
Add error handling to create a more informative message to the user, such that they immediately know to start their Docker daemon. Ensure the documentation reflects this.
Tasks
[ ] add "Running Docker daemon" the Prerequisites section of the tutorial (and any other credential-related prereqs)
[ ] add error handling
Assumptions:
Docker is necessary for this tutorial
Acceptance Criteria
The solution does not mask any other Docker errors thrown -- it is specific to the case where the daemon is not running
As a User, I immediately know what went wrong and how to fix it.
As a User, there is nothing else (logging in, etc) I need to do that I wasn't already informed of
As a Publisher, I want to be able to easily follow the publishing tutorial and publish an Entrypoint in a Garden. If there is an error, I want to immediately know what I need to do to fix it
When running the command
garden-ai notebook start tutorial_notebook.ipynb --base-image=3.10-sklearn
, as specified in the Tutorial, if I do not have the Docker daemon already running, I get the following error, preceded by a very long stack trace:This made me consider whether or not I had run the commands in the right folder (?), but discussion with Owen revealed that the issue is that the Docker daemon isn't running.
Add error handling to create a more informative message to the user, such that they immediately know to start their Docker daemon. Ensure the documentation reflects this.
Tasks
Assumptions:
Acceptance Criteria