-
Notifications
You must be signed in to change notification settings - Fork 37
Adding container image for running examples #203
Conversation
examples/README.md
Outdated
## Running examples through docker image | ||
- Build the container image | ||
```bash | ||
docker build --tag hamilton-example . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what directory should people be in? I know this is under examples/
but just to be explicit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also mention how long the build process might take.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added build time and directory details.
examples/README.md
Outdated
docker run -it --rm --name hamilton-example hamilton-example | ||
``` | ||
|
||
- Running the `hello_world` example inside the container |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add the instruction for starting the container if you've already built it please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added note to skip (to step 3 container creation) if image is already present.
@@ -0,0 +1,28 @@ | |||
# Get a list of all the folders containing "requirements.txt" file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment at the top as to the purpose of this file please?
E.g. "Use this to create individual virtual environments for each example - it assume virtualenv has been installed"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added description of the script at the top. Along with its usage
@@ -21,3 +21,23 @@ folders. | |||
Under `model_examples` you'll find a how you could apply Hamilton to model your ML workflow. | |||
Check it out to get a sense for how Hamilton could make your ML pipelines reusable/general | |||
components... | |||
|
|||
## Running examples through docker image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add more to say how this works please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added documentation for docker image
Saw @skrawcz took a look. Two more things:
|
a90f7df
to
05262b4
Compare
05262b4
to
7892648
Compare
@bovem let me know when this PR is back up and ready -- it's on my list to pull down and verify things myself. Thanks :) |
[Short description explaining the high-level reason for the pull request]
Changes
hamilton
that should be activated first before running the example.Testing
docker build --tag hamilton-example .
hello_world
example inside the containerNotes
Checklist
Testing checklist
Python - local testing