How to solve the problem that docker compose cannot be down.

Alibaba cloud Q & A 2022-02-13 07:56:17 阅读数:21

solve problem docker compose down.

image.png Is it because of the occupation of the network , But force docker-compose kill No, either , Is anyone in this situation ?

Take the answer 1:

Hello! , In the following ways disconnect Network or container processes can solve :

docker network disconnect -f {network} {endpoint-name}

Tips: {endpoint-name} You can use commands docker network inspect {network} obtain

Or you can restart directly docker:

sudo service docker restart

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you.