mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-21 00:55:10 +00:00
Merge "[FAB-7910] Clean up chaincode containers in fabric-ca"
This commit is contained in:
commit
de6ee6ea9e
1 changed files with 3 additions and 0 deletions
|
|
@ -11,4 +11,7 @@ source $SDIR/scripts/env.sh
|
||||||
|
|
||||||
log "Stopping docker containers ..."
|
log "Stopping docker containers ..."
|
||||||
docker-compose down
|
docker-compose down
|
||||||
|
# Stop chaincode containers and images as well
|
||||||
|
docker rm -f $(docker ps -aq --filter name=dev-peer)
|
||||||
|
docker rmi $(docker images | awk '$1 ~ /dev-peer/ { print $3 }')
|
||||||
log "Docker containers have been stopped"
|
log "Docker containers have been stopped"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue