From 13d0b7c34aa2217aa183003bee865b6b18d1b754 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Thu, 8 Aug 2024 13:23:49 +0300 Subject: [PATCH] fix cleanup for compose v2 --- cleanup.sh | 98 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 50 insertions(+), 48 deletions(-) diff --git a/cleanup.sh b/cleanup.sh index 5082b7e..f3208ed 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -1,54 +1,56 @@ #/bin/bash -docker container stop ocean_aquarius_1 -docker container stop ocean_graph-node_1 -docker container stop ocean_subgraph_1 -docker container stop ocean_ipfs_1 -docker container stop ocean_postgres_1 -docker container stop ocean_provider_1 -docker container stop ocean_provider2_1 -docker container stop ocean_ocean-contracts_1 -docker container stop ocean_elasticsearch_1 -docker container stop ocean_ganache_1 -docker container stop ocean_faucet_1 -docker container stop ocean_computetodata_1 -docker container stop ocean_kindcluster_1 -docker container stop ocean_redis_1 -docker container stop ocean_dashboard_1 +docker container stop ocean-aquarius-1 +docker container stop ocean-graph-node-1 +docker container stop ocean-subgraph-1 +docker container stop ocean-ipfs-1 +docker container stop ocean-postgres-1 +docker container stop ocean-provider-1 +docker container stop ocean-provider2-1 +docker container stop ocean-ocean-contracts-1 +docker container stop ocean-elasticsearch-1 +docker container stop ocean-typesense-1 +docker container stop ocean-ganache-1 +docker container stop ocean-faucet-1 +docker container stop ocean-computetodata-1 +docker container stop ocean-kindcluster-1 +docker container stop ocean-redis-1 +docker container stop ocean-dashboard-1 docker container stop docker-registry -docker container stop ocean_pdr-trader_1 -docker container stop ocean_pdr-predictoor1_1 -docker container stop ocean_pdr-predictoor2_1 -docker container stop ocean_pdr-predictoor3_1 -docker container stop ocean_pdr-trueval_1 -docker container stop ocean_pdr-publisher_1 -docker container stop ocean_pdr-dfbuyer_1 -docker container rm ocean_aquarius_1 -docker container rm ocean_graph-node_1 -docker container rm ocean_subgraph_1 -docker container rm ocean_ipfs_1 -docker container rm ocean_postgres_1 -docker container rm ocean_provider_1 -docker container rm ocean_provider2_1 -docker container rm ocean_ocean-contracts_1 -docker container rm ocean_elasticsearch_1 -docker container rm ocean_ganache_1 -docker container rm ocean_faucet_1 -docker container rm ocean_computetodata_1 -docker container rm ocean_kindcluster_1 -docker container rm ocean_redis_1 -docker container rm ocean_dashboard_1 +docker container stop ocean-pdr-trader-1 +docker container stop ocean-pdr-predictoor1-1 +docker container stop ocean-pdr-predictoor2-1 +docker container stop ocean-pdr-predictoor3-1 +docker container stop ocean-pdr-trueval-1 +docker container stop ocean-pdr-publisher-1 +docker container stop ocean-pdr-dfbuyer-1 +docker container rm ocean-aquarius-1 +docker container rm ocean-graph-node-1 +docker container rm ocean-subgraph-1 +docker container rm ocean-ipfs-1 +docker container rm ocean-postgres-1 +docker container rm ocean-provider-1 +docker container rm ocean-provider2-1 +docker container rm ocean-ocean-contracts-1 +docker container rm ocean-elasticsearch-1 +docker container rm ocean-typesense-1 +docker container rm ocean-ganache-1 +docker container rm ocean-faucet-1 +docker container rm ocean-computetodata-1 +docker container rm ocean-kindcluster-1 +docker container rm ocean-redis-1 +docker container rm ocean-dashboard-1 docker container rm docker-registry -docker container rm ocean_pdr-trader_1 -docker container rm ocean_pdr-predictoor1_1 -docker container rm ocean_pdr-predictoor2_1 -docker container rm ocean_pdr-predictoor3_1 -docker container rm ocean_pdr-trueval_1 -docker container rm ocean_pdr-publisher_1 -docker container rm ocean_pdr-dfbuyer_1 -docker volume rm ocean_graphipfs -docker volume rm ocean_graphpgsql -docker volume rm ocean_provider1db -docker volume rm ocean_provider2db +docker container rm ocean-pdr-trader-1 +docker container rm ocean-pdr-predictoor1-1 +docker container rm ocean-pdr-predictoor2-1 +docker container rm ocean-pdr-predictoor3-1 +docker container rm ocean-pdr-trueval-1 +docker container rm ocean-pdr-publisher-1 +docker container rm ocean-pdr-dfbuyer-1 +docker volume rm ocean-graphipfs +docker volume rm ocean-graphpgsql +docker volume rm ocean-provider1db +docker volume rm ocean-provider2db docker network rm kind docker volume rm $(docker volume ls -q)