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

Support bootstrap using non docker container CLI #3552

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

lehors
Copy link
Contributor

@lehors lehors commented Jul 28, 2022

This change allows specifying a different CLI so the following is
possible for instance:

CONTAINER_CLI=podman ./bootsrap.sh -s

Signed-off-by: Arnaud J Le Hors lehors@us.ibm.com

Type of change

  • Bug fix
  • New feature
  • Improvement (improvement to code, performance, etc)
  • Test update
  • Documentation update

Description

Additional details

Related issues

This change allows specifying a different CLI so the following is
possible for instance:

CONTAINER_CLI=podman ./bootsrap.sh -s

Signed-off-by: Arnaud J Le Hors <lehors@us.ibm.com>
@lehors lehors requested a review from a team as a code owner July 28, 2022 13:43
Copy link
Contributor

@yacovm yacovm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CONTAINER_CLI=podman ./bootsrap.sh -s

If you need to specify manually the container CLI then you might as well alias docker to podman:

alias docker='podman'

and then you can run the bootstrap as usual, no?

@lehors
Copy link
Contributor Author

lehors commented Jul 28, 2022

I could but that's not the choice that was made in fabric-samples because sometimes we need to be able to differentiate which cli is being used, such as in:
https://github.com/hyperledger/fabric-samples/blob/main/test-network/network.sh#L333

So it makes sense to be consistent.

@yacovm yacovm merged commit aa51d03 into hyperledger:main Jul 28, 2022
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.

2 participants