# Build stuck on Validating connection to Docker daemon

**URL:** <https://community.codefresh.io/t/build-stuck-on-validating-connection-to-docker-daemon/1072>\
**Category:** Pipeline Workflows\
**Created:** [July 2, 2025, 12:06am UTC](https://community.codefresh.io/t/build-stuck-on-validating-connection-to-docker-daemon/1072 "2025-07-02T00:06:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Gill](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/john_gill/32/705_2.png) [@John\_Gill](https://community.codefresh.io/u/John_Gill)\
**Post date:** [July 2, 2025, 12:06am UTC](https://community.codefresh.io/t/build-stuck-on-validating-connection-to-docker-daemon/1072/1 "2025-07-02T00:06:07Z")

</div>

### What is currently happening?

Build is on the Initializing Process step and is stuck `Validating connection to Docker daemon...`

### What are the expected results?

I expect the initialization process to complete in a few seconds and proceed to the `Clone` step

### Details

Upon commiting a change to our repository a codefresh CI build kicks off and usually finishes without failure. However, several builds have failed now and restarting them does not resolve the issue.

### How to reproduce

1. Make a code change
2. Commit code change
3. Push to github repo
4. CI build is triggered
5. Initializing Process gets stuck

### Impact

We currently can’t deploy our app because the build doesn’t succeed?

---

<div class="post-metadata">

**Author:** ![John\_Gill](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/john_gill/32/705_2.png) [@John\_Gill](https://community.codefresh.io/u/John_Gill)\
**Post date:** [July 2, 2025, 3:41am UTC](https://community.codefresh.io/t/build-stuck-on-validating-connection-to-docker-daemon/1072/2 "2025-07-02T03:41:19Z")

</div>

Codefresh Support were able to help. The solution was a combination of increasing resource size and setting **Minimum disk space required for build filesystem** which fixed the issue.

---

<div class="post-metadata">

**Author:** ![scot](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@scot](https://community.codefresh.io/u/scot)\
**Post date:** [February 10, 2026, 10:38am UTC](https://community.codefresh.io/t/build-stuck-on-validating-connection-to-docker-daemon/1072/3 "2026-02-10T10:38:42Z")

</div>

The Codefresh runner failing before the Docker daemon can completely init is the cause of this issue, not Docker itself. It just hangs at “validating connection” with no helpful error when disk or resources are limited.

Your solution makes sense. Builds are kept from landing on a half-dead node by increasing the resource size and imposing a minimum disk space requirement. In most cases, runner pressure or residual Docker layers—rather than the pipeline itself—are the cause of sporadic issues.
