Giter Club home page Giter Club logo

self_issue's Introduction

self_issue

在部署fabric网络时,执行./netword.sh down 来down之前的网络部署时,报错如下: ERROR: error while removing network: network fabric_test id efa474c66460892ce08d4fb432f6de6b7c6a687d1f6ad38204bafa2ea3f33d5e has active endpoints 之后的./network.sh createChannel 失败无法创建

[➜  test-network git:(main) docker network inspect fabric_test
    {
        "Name": "fabric_test",    # 参数一
        "Id": "efa474c66460892ce08d4fb432f6de6b7c6a687d1f6ad38204bafa2ea3f33d5e",
        "Created": "2022-07-16T11:27:36.753526292Z",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "172.18.0.0/16",
                    "Gateway": "172.18.0.1"
                }
            ]
        },
        "Internal": false,
        "Attachable": true,
        "Ingress": false,
        "ConfigFrom": {
            "Network": ""
        },
        "ConfigOnly": false,
        "Containers": {
            "3bf815a1bb3dbfb8d1adf332e4aec67b71c228f39999a209f1e6a27cb53b098e": {
                "Name": "logspout",   # 参数二
                "EndpointID": "71ed41025bd3ea4e84774f2a51df121754d18a05a5adf552f7437364adc61027",
                "MacAddress": "02:42:ac:12:00:06",
                "IPv4Address": "172.18.0.6/16",
                "IPv6Address": ""
            }
        },
        "Options": {},
        "Labels": {
            "com.docker.compose.network": "fabric_test",
            "com.docker.compose.project": "compose",
            "com.docker.compose.version": "1.29.2"
        }
    }
]
// 断开网络,这里有俩个参数,分别是参数一参数二在上面标出来了
➜  test-network git:(main) docker network disconnect -f fabric_test logspout
// 然后重新执行,成功down掉,然后重新搭建通道成功
➜  test-network git:(main) ./network.sh down                                
Using docker and docker-compose
Stopping network
Removing network fabric_test
Removing network compose_default
WARNING: Network compose_default not found.
Removing volume compose_orderer.example.com
Removing volume compose_peer0.org1.example.com
Removing volume compose_peer0.org2.example.com
Removing volume compose_peer0.org3.example.com
WARNING: Volume compose_peer0.org3.example.com not found.
Error: No such volume: docker_orderer.example.com
Error: No such volume: docker_peer0.org1.example.com
Error: No such volume: docker_peer0.org2.example.com
Removing remaining containers
Removing generated chaincode docker images
"docker kill" requires at least 1 argument.
See 'docker kill --help'.

Usage:  docker kill [OPTIONS] CONTAINER [CONTAINER...]

Kill one or more running containers

self_issue's People

Contributors

moonnoom1 avatar

Watchers

 avatar

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.