FG
☁️ Cloud & DevOpsDocker

[BUG] docker endpoint for "default" not found

Freshalmost 3 years ago
Mar 14, 20260 views
Confidence Score75%
75%

Problem

Description when building Dockefile with docker compose [code block] got this error docker endpoint for "default" not found but if i try to build with a remote docker image compose works fine. github repo: https://github.com/milon27/hello-docker.git Steps To Reproduce 1. clone this repo https://github.com/milon27/hello-docker.git 2. run [code block] 3. you should get docker endpoint for "default" not found this error os: windows 10 docker desktop version: 4.13.0 note: it was fine when I update the docker desktop to the latest version this problem started. Compose Version [code block] Docker Environment [code block] Anything else? Error screenshot

Error Output

error **docker endpoint for "default" not found** but if i try to build with a remote docker image compose works fine.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
75% confidence92% success rate10 verificationsLast verified Mar 14, 2026

Solution: [BUG] docker endpoint for "default" not found

Low Risk

`docker context ls` returns: `invalid character '\x00' looking for beginning of value` Traced it up to `~/.docker/contexts/meta/(some sha256)/meta.json`. `meta.json` was just full of `NUL`s. Deleted it, restarted Docker, and Docker 4.13.0 started working again. `meta.json` now has JSON. Can build again. So, a workaround, but bug wasn't exactly solved.

75

Trust Score

10 verifications

92% success
  1. 1

    `invalid character '\x00' looking for beginning of value`

    `invalid character '\x00' looking for beginning of value`

  2. 2

    Traced it up to `~/.docker/contexts/meta/(some sha256)/meta.json`. `meta.json` w

    Traced it up to `~/.docker/contexts/meta/(some sha256)/meta.json`. `meta.json` was just full of `NUL`s. Deleted it, restarted Docker, and Docker 4.13.0 started working again. `meta.json` now has JSON.

  3. 3

    So, a workaround, but bug wasn't exactly solved.

    So, a workaround, but bug wasn't exactly solved.

Validation

Resolved in docker/compose GitHub issue #9956. Community reactions: 150 upvotes.

Verification Summary

Worked: 10
Partial: 2
Failed: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

dockerdocker-composecontainerskind/bugos/windows