1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

docker-compose up時にCannot start service xxx: network というエラーが出たとき

Posted at

docker-compose upでこける

docker-compose upした時に、以下のようなエラーが出てdockerが立ち上がらない
Cannot start service xxx: network

多分、既存のdockerネットワークが何かしらで削除されたりして立ち上がらない。

解決策

$ docker-compose up --force-recreate <name>

これでコンテナすべてを強制的に停止および再生成します。

これで治った

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?