1
2

More than 1 year has passed since last update.

docker endpoint for "default" not foundの解決方法

Posted at

はじめに

dockerで環境を構築しているときに以下のエラーに遭遇しました。
解決方法について、自分用メモとして残します。

エラー文言
$ docker-compose up
docker endpoint for "default" not found

原因

色々調べていくと、こんな記事がありました。
[BUG]docker endpoint for "default" not found #9956

質問者さんは再インストールしたら直っちゃった...と言って顰蹙を食らってますが。。。(笑

コメントを読んでいって以下のコマンドを実行してみました。

実行結果
$ docker context ls
unexpected end of JSON input

ちなみに中身は空でした。

実行結果
$ cat meta.json


コメントのとおりmeta.jsonを削除してdockerを再起動したら動くようになりました。

1
2
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
2