Closed criadoperez closed 2 years ago
A warning is displayed "network stacks not found" when stopping the service.
➜ stacks-blockchain-docker git:(master) ./manage.sh -n testnet -a up Starting all services for stacks-blockchain Creating network "stacks" with the default driver Creating postgres ... done Creating stacks-blockchain-api ... done Creating stacks-blockchain ... done [ Success ] Brought up testnet Follow logs: ./manage.sh -n testnet -a logs ➜ stacks-blockchain-docker git:(master) ./manage.sh -n testnet -a down Stopping stacks-blockchain Timeout is set for 1200 seconds Stopping stacks-blockchain ... done Stopping stacks-blockchain-api Stopping stacks-blockchain-api ... done Stopping postgres Stopping postgres ... done Stopping all services for stacks-blockchain Stopping all services Removing stacks-blockchain ... done Removing stacks-blockchain-api ... done Removing postgres ... done Removing network stacks Removing network stacks WARNING: Network stacks not found. [ Success ] Brought down testnet ➜ stacks-blockchain-docker git:(master)
That's correct, this is how docker-compose works.
https://github.com/docker/compose/blob/2f47e4582c5cc93d967237b7b48bffee97946876/pkg/compose/down.go#L136-L138
https://github.com/docker/compose/blob/2f47e4582c5cc93d967237b7b48bffee97946876/pkg/api/errors.go#L57-L59
A warning is displayed "network stacks not found" when stopping the service.