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 1 year has passed since last update.

`docker compose up -d`を実行すると`failed to solve ... tcp: lookup auth.docker.io on 192.168.0.1:53: server misbehaving`というエラーが出た話し

Posted at

概要

タイトルのとおりコワーキングスペースで作業していたところ以下のエラーに遭遇して1〜2時間ほど溶けました・・・

failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = failed to fetch oauth token: Post "https://auth.docker.io/token": dial tcp: lookup auth.docker.io on 192.168.0.1:53: server misbehaving

環境

  • Macbook 12 Early 2016 / macOS Monterey 12.6.2
  • Docker Desktop 4.17.0
  • とあるコワーキングスペースのWiFi

問題

使っていたとあるコワーキングスペースのWiFiが何らかのセキュア対策によってDockerのイメージをPullする工程が問題が起きた模様(ネットワークはあまり詳しくないため根本的な原因はわからず・・・)。

対策

  • docker compose up -dでエラーが発生しないネット環境に変える。
  • ②とあるコワーキングスペースのネット環境を調べて対策できないか相談する。

②をやる体力はないので①で解決しましたw

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?