Skip to content
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

Remove duplicate pull of token/blockchain docker images #144

Closed
wants to merge 1 commit into from

Conversation

awrichar
Copy link
Contributor

@awrichar awrichar commented Feb 8, 2022

With the addition of Stack.VersionManifest, that manifest is now the de facto
source of all images for the stack. There is no need to iterate over the
plugins' Docker service definitions a second time (which are now also generated
from the same VersionManifest).

Fixes #119

With the addition of Stack.VersionManifest, that manifest is now the de facto
source of all images for the stack. There is no need to iterate over the
plugins' Docker service definitions a second time (which are now also generated
from the same VersionManifest).

Fixes hyperledger#119

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
@nguyer
Copy link
Contributor

nguyer commented Feb 9, 2022

There are images provided by the blockchain provider that are not in the manifest file though. For example, geth, besu, ethsigner, fabric-peer, fabric-orderer, fabric-ca.

The problem is that docker compose up does not retry on pull. So if pulling an image fails for any reason it will remove the docker compose stack and exit. This means that in our E2E tests, if an HTTP timeout is encountered pulling one of these images, the entire test run will fail, when a simple backoff and retry would have worked.

I agree that some work needs to be done here. It sounds like we just need to deduplicate the images in the list that get pulled. But I just wanted to provide a bit background info on why explicitly pulling with retry was important.

@awrichar
Copy link
Contributor Author

Fixed by #177

@awrichar awrichar closed this Apr 19, 2022
@awrichar awrichar deleted the docker branch April 19, 2022 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI attempts to pull "local" Docker images (and fails)
2 participants