docker network再作成したのに、どうやら前の情報を見に行きエラーになって起動しない ERROR: for service_hoge Cannot start service service_hoge: network xxxxxxxxxxxxxxxxxxxxxxxxxxxxx not found ERROR: Encountered errors while bringing up the project docker

docker network再作成したのに、どうやら前の情報を見に行きエラーになって起動しない

ERROR: for service_hoge Cannot start service service_hoge: network xxxxxxxxxxxxxxxxxxxxxxxxxxxxx not found
ERROR: Encountered errors while bringing up the project.

$ docker-compose down
でいったんコンテナ削除してから、コンテナ起動したら無事起動した。
$ docker-compose up -d