[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-connect-to-the-docker-api-at-unix-var":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":18,"titleAccent":6,"lead":19,"facts":22,"why":37,"log":51,"fix":76,"engine":92,"related":99,"pitch":109},"express","connect-to-the-docker-api-at-unix-var","DinD deployment cannot connect to the Docker daemon","Express, Fallback",{"description":9},"Learn what causes DinD deployment cannot connect to the Docker daemon, how PanelAlpha Engine responds to it during deployment.",[11,14,17],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":15,"href":16},"Express","\u002Fapps\u002Fstacks\u002Fexpress",{"label":6},"",[20],{"text":21},"Error recorded 2 times in PanelAlpha Engine deploys on Express, Fallback. The deploy log below is the recorded failure output.",[23,28,31,33],{"label":24,"value":25,"tone":26,"tooltip":27},"Type","Error","err","An error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.",{"label":29,"value":30},"Seen","2 times · 2 variants",{"label":32,"value":7},"Where",{"label":34,"value":35,"tooltip":36},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":38,"body":39},"Why it happens",[40,42,45,47,49],{"text":41},"The deployment reached the run stage, but the account’s nested Docker environment could not access ",{"text":43,"code":44},"\u002Fvar\u002Frun\u002Fdocker.sock",true,{"text":46},". The Docker daemon or socket is missing, unavailable, or not mounted into the deployment environment. The build log also shows a missing file under ",{"text":48,"code":44},"server\u002Fnode_modules",{"text":50},", which may require cleanup before retrying.",{"heading":52,"block":53},"What the log looks like",{"header":54,"lines":55},"Deploy log",[56,60,64,68,72],{"segments":57},[58],{"text":59},"#25 ERROR: failed to copy files: failed to open source ...\u002Fapp\u002Fserver\u002Fnode_modules\u002Fjest-circus\u002Fnode_modules\u002F@\u003Cb64>.d.ts: no such file or directory",{"segments":61},[62],{"text":63},"ERROR: failed to build: failed to solve: failed to copy files",{"segments":65},[66],{"text":67},"...",{"segments":69},[70],{"text":71},"failed to connect to the docker API at unix:\u002F\u002F\u002Fvar\u002Frun\u002Fdocker.sock; check if the path is correct and if the daemon is running: dial unix \u002Fvar\u002Frun\u002Fdocker.sock: connect: no such file or directory",{"segments":73},[74],{"text":75},"Could not pre-pull nginx:alpine",{"heading":77,"steps":78,"block":89},"How to fix it",[79],[80,82,83,85,87],{"text":81},"Verify that Docker is installed and running for this account, and that ",{"text":43,"code":44},{"text":84}," is available inside the DinD environment. Check socket ownership and permissions, then retry the deployment. If it still fails, remove generated or stale ",{"text":86,"code":44},"node_modules",{"text":88}," contents, reinstall dependencies from the lockfile, and rebuild.",{"header":90,"lines":91},"Fix by hand",[],{"heading":93,"body":94,"block":97},"How PanelAlpha Engine solves it",[95],{"text":96},"Validate Docker daemon and socket availability before starting the build or image pre-pull. Report the missing socket as the primary failure, and isolate stale or incomplete node_modules files as a separate build error.",{"header":18,"lines":98},[],{"heading":100,"items":101},"Apps affected",[102,106],{"title":103,"badge":104,"tone":26,"href":105},"nodejs-getting-started","1 occurrence","\u002Fapps\u002Fheroku\u002Fnode-js-getting-started",{"title":107,"badge":104,"tone":26,"href":108},"tooljet","\u002Fapps\u002Ftooljet\u002Ftooljet",{"heading":110,"body":111,"footNote":112,"docsLabel":113,"docsHref":114},"Try PanelAlpha Engine yourself.","The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.","Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]