0
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 3 years have passed since last update.

Docker で停止中のコンテナを全部動かす

Posted at

#Docker で停止中のコンテナを全部動かす

$ docker start `docker ps -aq`
60f91cccb7dd
Error response from daemon: Cannot link to a non running container: /xxx-mysql AS /xxx-wordpress/mysql
90f0009df4dc
fc6cf5b5a26b
Error: failed to start containers: d949279b7e8b

もう一回同じコマンドを叩く。1

$ docker start `docker ps -aq`
60f91cccb7dd
d949279b7e8b
90f0009df4dc
fc6cf5b5a26b

はい、全部動いた。

最低二回コマンドを叩く。

  1. xxx-mysqlが先に可動していないとxxx-wordpressが可動できないが、先にxxx-wordpressを稼働させようとしたためエラーとなった。

0
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
0
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?