docker: Use pregenerated keys in docker private network#5728
Closed
algochoi wants to merge 18 commits intoalgorand:masterfrom
Closed
docker: Use pregenerated keys in docker private network#5728algochoi wants to merge 18 commits intoalgorand:masterfrom
algochoi wants to merge 18 commits intoalgorand:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5728 +/- ##
==========================================
+ Coverage 55.54% 55.56% +0.01%
==========================================
Files 476 476
Lines 66853 66853
==========================================
+ Hits 37131 37144 +13
+ Misses 27193 27186 -7
+ Partials 2529 2523 -6 see 17 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Contributor
|
Command to generate keys inside the container end export them to a mounted volume Using the same template, these keys can be provided to quickly start a private network: |
Contributor
|
Closing in favor of #5735 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Docker changes:
--mountwhen the docker container is started up#5699
Test Plan
Manually generated keys from a custom template, then built and started docker image.
Pregenerate keys:
goal network pregen -t some_template.json -p pregen_kBuild the image (from root dir):
Run (mounting the template and data directory is optional, and
-vand--mountare interchangeable with slight differences in syntax):