-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(*:skip) Update SuperNode docker example #3722
base: main
Are you sure you want to change the base?
Conversation
9ccd11f
to
dbb94bb
Compare
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.
Hi @Robert-Steiner, I've reviewed mainly the Quickstart and have suggested some changes. About including dependencies in the Dockerfile, I prefer if we can show how to use pyproject.toml
to reduce copy-pasting dependencies across files. Can you also check the flwr run
execution? I think it's missing some arguments to run on the Docker SuperExec/SuperLink.
4a0bab1
to
cae146e
Compare
8e383e9
to
47e3867
Compare
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
Signed-off-by: Robert Steiner <[email protected]>
46fde7e
to
bd7032e
Compare
Signed-off-by: Robert Steiner <[email protected]>
bd7032e
to
ccf511b
Compare
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.
Thanks @Robert-Steiner for the updates! A few more minor suggestions on the other pages.
|
||
$ docker run --rm \ | ||
--volume ./ca.crt:/app/ca.crt/:ro \ | ||
flwr/supernode:|current_flwr_version| \ |
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.
flwr/supernode:|current_flwr_version| \ | |
flwr/supernode:|stable_flwr_version| \ |
| current working directory of the host machine as a read-only volume at the ``/app/ca.crt`` | ||
| directory inside the container. | ||
* | :substitution-code:`flwr/supernode:|current_flwr_version|`: The name of the image to be run and the specific | ||
| tag of the image. The tag :substitution-code:`|current_flwr_version|` represents a specific version of the 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.
| tag of the image. The tag :substitution-code:`|current_flwr_version|` represents a specific version of the image. | |
| tag of the image. The tag :substitution-code:`|stable_flwr_version|` represents a specific version of the image. |
|
||
$ docker run --rm \ | ||
--volume ./certificates/:/app/certificates/:ro \ | ||
flwr/superexec:|current_flwr_version| \ |
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.
flwr/superexec:|current_flwr_version| \ | |
flwr/superexec:|stable_flwr_version| \ |
| This allows the container to access the TLS certificates that are stored in the certificates | ||
| directory. | ||
* | :substitution-code:`flwr/superexec:|current_flwr_version|`: The name of the image to be run and the specific | ||
| tag of the image. The tag :substitution-code:`|current_flwr_version|` represents a specific version of the 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.
| tag of the image. The tag :substitution-code:`|current_flwr_version|` represents a specific version of the image. | |
| tag of the image. The tag :substitution-code:`|stable_flwr_version|` represents a specific version of the image. |
Co-authored-by: Chong Shen Ng <[email protected]>
da06b05
to
157f15a
Compare
Signed-off-by: Robert Steiner <[email protected]>
157f15a
to
9135310
Compare
@chongshenng, thanks for the great feedback! I tried to address all the comments. Let me know in case I missed one. Regarding renaming |
Signed-off-by: Robert Steiner <[email protected]>
e636b51
to
e318719
Compare
Issue
Description
Related issues/PRs
Proposal
Explanation
Checklist
#contributions
)Any other comments?