简体   繁体   中英

Docker uninstall Sawtooth marketplace

I just installed Hyperledger sawtooth marketplace from the Git repository via Docker on my local machine. But, now I want to uninstall all the files but I don't know how to do this.

I ran the $ docker-compose up command in the folder ~/Workspace/sawtooth-marketplace but this folder is just 2.5 mb of file size. And in my opinion it installed a lot more files om my local machine.

Is there a way to reverse / uninstall this piece of software?

Robbert

To clean out all containers (if you did not do a docker-compose down)

docker rm $(docker ps -aq)

To clean out all marketplace images:

docker rmi $(docker images --filter=reference="market*" -aq) -f && \
docker rmi $(docker images --filter=reference="sawtooth* -aq) -f && \
docker rmi $(docker images --filter=reference="validator" -aq) -f

Shortcut to remove all docker images

docker rmi $(docker images -aq) -f

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM