mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
install fabric images to containerd with 'nerdctl' pull
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
parent
2988f9d782
commit
78a5551542
1 changed files with 9 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ begins_with_short_option()
|
|||
print_help()
|
||||
{
|
||||
printf 'Usage: %s [-f|--fabric-version <arg>] [-c|--ca-version <arg>] <comp-1> [<comp-2>] ... [<comp-n>] ...\n' "$0"
|
||||
printf '\t%s\n' "<comp>: Component to install one or more of d[ocker]|b[inary]|s[amples]|p[podman]. If none specified, all will be installed"
|
||||
printf '\t%s\n' "<comp>: Component to install one or more of d[ocker]|b[inary]|s[amples]|p[podman]|n[nerdctl]. If none specified, all will be installed"
|
||||
printf '\t%s\n' "-f, --fabric-version: FabricVersion (default: '2.4.0')"
|
||||
printf '\t%s\n' "-c, --ca-version: Fabric CA Version (default: '1.5.2')"
|
||||
}
|
||||
|
|
@ -295,6 +295,14 @@ if [[ "${_arg_comp[@]}" =~ p(odman)? ]]; then
|
|||
pullImages
|
||||
fi
|
||||
|
||||
if [[ "${_arg_comp[@]}" =~ n(erdctl)? ]]; then
|
||||
echo
|
||||
echo "Pull Hyperledger Fabric images into containerd"
|
||||
echo
|
||||
CONTAINER_CLI=nerdctl
|
||||
pullImages
|
||||
fi
|
||||
|
||||
if [[ "${_arg_comp[@]}" =~ d(ocker)? ]]; then
|
||||
echo
|
||||
echo "Pull Hyperledger Fabric docker images"
|
||||
|
|
|
|||
Loading…
Reference in a new issue