docker-compose 起動エラーでコンテナが起動できなくなる ERROR: for ... Cannot start service ..: driver failed programming external connectivity on endpoint ...: Error starting userland proxy: listen tcp 0.0.0.0:...: bind: Only one usage of each socket addre docker

docker-compose でコンテナが起動できなくなる

windows10でdockerいれていろいろ触ってたら以下のエラーがでて
docker-compose でコンテナが起動できなくなる

結論から言うと、windowsを再起動したらでなくなった。
理由はゴミがのこってたのかと思うが、時間もないので深追いはやめる。一応メモ

% docker-compose up -d
ERROR: for hogehoge1 Cannot start service hogehoge1: driver failed programming external connectivity on endpoint hogehoge1 (xxx): Error starting userland proxy: listen tcp 0.0.0.0:4040: bind: Only one usage of each socket address (protocol/network aCreating hogehoge1 ... error
ERROR: for hogehoge2 Cannot start service hogehoge2: driver failed programming external connectivity on endpoint hogehoge2 (xxx): Error starting userland proxy: listen tcp 0.0.0.0:8080: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
ERROR: for hogehoge3 Cannot start service hogehoge3: driver failed programming external connectivity on endpoint hogehoge3 (xxx): Error starting userland proxy: listen tcp 0.0.0.0:4040: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
ERROR: Encountered errors while bringing up the project.