github / docs

The open-source repo for docs.github.com
https://docs.github.com
Creative Commons Attribution 4.0 International
16.16k stars 59.41k forks source link

In a devcontainer, the `postCreate` command will not execute without being assigned the execute permission #33165

Closed saikatdas0790 closed 2 months ago

saikatdas0790 commented 4 months ago

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/codespaces/developing-in-a-codespace/rebuilding-the-container-in-a-codespace

What part(s) of the article would you like to see updated?

https://docs.github.com/en/codespaces/developing-in-a-codespace/rebuilding-the-container-in-a-codespace#persisting-data-over-a-rebuild

{
    "image": "mcr.microsoft.com/devcontainers/base:alpine",
    "postCreateCommand": ".devcontainer/postCreate.sh"
}

Additional information

No response

welcome[bot] commented 4 months ago

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

nguyenalex836 commented 4 months ago

@saikatdas0790 Thank you for opening an issue and linking it to your PR! ✨

Behzadlotfii commented 4 months ago

Good