Code Monkey home page Code Monkey logo

Comments (11)

yeasy avatar yeasy commented on July 19, 2024

Hi, can you try the image here?

https://hub.docker.com/r/hyperledger/

from docker-compose-files.

qiang0723 avatar qiang0723 commented on July 19, 2024

有可能是还没deploy好,deploy后等待10-20s,先docker ps 确认下有新的cluster创建成功,再invoke/query试试

from docker-compose-files.

dongpengfei avatar dongpengfei commented on July 19, 2024

@qiang0723

谢谢,昨晚又调试了下,和你的结论应该是一致的,deploy后有延迟(我这边大概有快2min),然后才出现错误。

docker ps后发现应该建好的container的STATUS=exited。

04p ss6xk7 5 w4d n_puv

现在正在查找原因,@qiang0723 @yeasy 有没有什么已知的建议?

from docker-compose-files.

qiang0723 avatar qiang0723 commented on July 19, 2024

@dongpengfei ,这种情况应该是没建好,中间会有失败 重启的情况,watch -n 1 docker ps 观察等稳定了,这种情况经常发生吗,运行中的容器突然退出?建议docker 版本1.20,docker-compose 1.8.1

from docker-compose-files.

dongpengfei avatar dongpengfei commented on July 19, 2024

@qiang0723

目前为止,我还没有deploy成功过。
最近3天一直在研究,已经重新部署n遍了。

刚才用watch -n 1 docker ps 观察了,上面4个节点启动后自己就关闭了。

环境如下:

Client:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        
 OS/Arch:      linux/amd64

from docker-compose-files.

qiang0723 avatar qiang0723 commented on July 19, 2024

换个ubuntu14.04试试?

from docker-compose-files.

qiang0723 avatar qiang0723 commented on July 19, 2024

@dongpengfei
刚试了下,你把peer-pbft.yml的 CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=fabric_ 这个变量注释了试下,我刚试过了,不知道适不适用你,其他操作同 这个项目的操作说明

from docker-compose-files.

dongpengfei avatar dongpengfei commented on July 19, 2024

@qiang0723

哦耶哦耶哦耶~~~~哥们谢谢啦

昨天下午我去搭建ubuntu试去了,最后结果依然不行。
我的Centos和Ubuntu都是虚拟机,我担心这个导致,又找了个物理机。。。

今天看到你的留言后我试了下,一次就成功了,部署、查询、转账都成功了。
谢啦!

from docker-compose-files.

dongpengfei avatar dongpengfei commented on July 19, 2024

@qiang0723 @yeasy

那这个是什么导致呢,hyperledger example 中难道还要设置docker的ip?

from docker-compose-files.

yeasy avatar yeasy commented on July 19, 2024

No, we add more content in the latest doc, hope can help u.

As it's solved, will close first.

Thanks!

from docker-compose-files.

dongpengfei avatar dongpengfei commented on July 19, 2024

Yeah, Thanks.

from docker-compose-files.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.