Skip to content

Help with remote dev container #133

Discussion options

You must be logged in to vote

Hi 👋

Welcome to the Dev Container community.
Have you looked at https://containers.dev/implementors/json_reference/#lifecycle-scripts document?

You can configure the devcontainer.json file to run a lifecycle script after the container has started. You can use the postCreateCommand or postStartCommand properties in the devcontainer.json file to run commands after the container has been created or started, respectively.

Please note that the script file should be in a location that is accessible to the container. You can add the script file to your project and use a relative path to it in the devcontainer.json file.

Also, keep in mind that these commands run inside the container, not on the …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jalanh11640
Comment options

Answer selected by samruddhikhandale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants