Skip to content

Instantly share code, notes, and snippets.

@mandrasch
Created December 9, 2023 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mandrasch/001d52c50eb367dba466869f3439e0b3 to your computer and use it in GitHub Desktop.
Save mandrasch/001d52c50eb367dba466869f3439e0b3 to your computer and use it in GitHub Desktop.
codespaces - no docker available in postCreateCommand
2023-12-09 12:36:42.373Z: Running the postCreateCommand from devcontainer.json...
2023-12-09 12:36:42.385Z: chmod +x ./.devcontainer/postCreateCommand.sh && ./.devcontainer/postCreateCommand.sh
2023-12-09 12:36:42.584Z: + ddev config global --omit-containers=ddev-router
2023-12-09 12:36:52.200Z: ERRO[0009] app.FindContainerByType(web) failed
2023-12-09 12:36:52.224Z: ERRO[0009] app.FindContainerByType(web) failed 2023-12-09 12:36:52.228Z:
2023-12-09 12:36:52.231Z: {"outcome":"error","message":"Command failed: /bin/sh -c chmod +x ./.devcontainer/postCreateCommand.sh && ./.devcontainer/postCreateCommand.sh","description":"The postCreateCommand in the devcontainer.json failed.","containerId":"330d4bf98029657829e51737275d1f5ed14f7524c1accfd7ce856ed61c155f41"}
2023-12-09 12:36:52.242Z: Could not connect to a Docker provider. Please start or install a Docker provider.
For install help go to: https://ddev.readthedocs.io/en/latest/users/install/
2023-12-09 12:36:52.253Z: postCreateCommand failed with exit code 1. Skipping any further user-provided commands.
2023-12-09 12:36:52.260Z: Error: Command failed: /bin/sh -c chmod +x ./.devcontainer/postCreateCommand.sh && ./.devcontainer/postCreateCommand.sh
2023-12-09 12:36:52.268Z: at WY (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:235:130)
2023-12-09 12:36:52.275Z: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-12-09 12:36:52.294Z: at async bl (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:227:4393)
2023-12-09 12:36:52.319Z: at async Ll (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:227:3738)
2023-12-09 12:36:52.365Z: at async vl (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:227:2942)
2023-12-09 12:36:52.388Z: at async Js (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:227:2386)
2023-12-09 12:36:52.404Z: at async QAA (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:462:1496)
2023-12-09 12:36:52.418Z: at async kK (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:462:964)
2023-12-09 12:36:52.426Z: at async NAA (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:479:3660)
2023-12-09 12:36:52.445Z: at async vC (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:479:4775)
2023-12-09 12:36:52.457Z: devcontainer process exited with exit code 1
=================================================================================
2023-12-09 12:36:52.466Z: Finished configuring codespace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment