Questions in Documents --- "Adding an Org to a channel"
Hi – the problem is with the `DOCKER_SOCK` not being set – this is the path to the socket used to connect to the docker daemon and this is mounted as a volume within some of the containers.
I’d suggest running the `addOrg3.sh` script rather than doing each step by hand. You will be able to see the commands being run – so if you wished to repeat it manually you can.
Thanks Matthew
Sent: 04 October 2022 04:32
To: Matthew White <WHITEMAT@...>; ctsatheesh@...; fabric@...
Subject: [EXTERNAL] 回覆: [Hyperledger Fabric] Questions in Documents --- "Adding an Org to a channel"
Dear Matthew, Thank you for providing me with this solution. However, when I try to continue the following step, there are still some mistakes. I deleted my previous fabric-samples folder and redownloaded it again. I also cleaned all previous
ZjQcmQRYFpfptBannerStart
|
ZjQcmQRYFpfptBannerEnd
Dear Matthew,
Thank you for providing me with this solution. However, when I try to continue the following step, there are still some mistakes. I deleted my previous fabric-samples folder and redownloaded it again. I also cleaned all previous environments. But still the same problem. I guess it maybe arise from docker-compose configurations.
Thanks a lot.
Regards,
Cindy
寄件者: Matthew White <WHITEMAT@...>
寄件日期: 2022年10月3日
23:08
收件者:
ctsatheesh@... <ctsatheesh@...>;
fabric@... <fabric@...>; Cindy Qian <cindy.qian@...>
主旨: RE: [Hyperledger Fabric] Questions in Documents --- "Adding an Org to a channel"
Thank you for raising the issue; the mistake is in documentation – and I’ve raised https://github.com/hyperledger/fabric/pull/3656 for resoultion.
When support for using podman was added, we needed to split out the docker composer files. There is a parent compose file, along a docker or podman specific child file. Podman is very similar to Docker, but certainly at the time not quite similar enough for differences between the compose files.
This is case for example with adding org3, the docker-composer command would be
docker-compose -f compose/compose-org3.yaml -f compose/docker/docker-compose-org3.yaml up -d
compose-org3.yaml is the generic parent, and the second is the docker specifics. Likewise there is a podman specific file as well.
Hope that helps.
Thanks Matthew
From:
fabric@... <fabric@...>
On Behalf Of satheesh via lists.hyperledger.org
Sent: 03 October 2022 04:13
To: fabric@...; Cindy Qian <cindy.qian@...>
Subject: [EXTERNAL] Re: [Hyperledger Fabric] Questions in Documents --- "Adding an Org to a channel"
Yes, docker directory is present inside compose directory. You can check if specifying path as compose/docker/docker-compose-org3. yaml works. -Satheesh
ZjQcmQRYFpfptBannerStart
|
ZjQcmQRYFpfptBannerEnd
Yes, docker directory is present inside compose directory.
You can check if specifying path as compose/docker/docker-compose-org3.yaml works.
-Satheesh
On Monday, October 3, 2022 at 01:34:55 AM GMT+5:30, Cindy Qian <cindy.qian@...> wrote:
Dear Sir,
I found a small error in the documents.
In the section: Tutorials--->Adding an org to a new channel--->Bring up Org3 components. The instructions are like below:
However, the fabric samples downloaded from the official website show that there is no docker directory in the addOrg3 directory.
I am a little confused, could you help me fix the problem?
Looking forward to your reply
Regards,
Cindy Qian
Unless otherwise stated above:
IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU