Wednesday 02 December 2026 12:48:27 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

postCreateCommand

A setup command that can run after a development container is created, depending on the environment.

postCreateCommand is a development-container configuration setting for a command to run after the container has been created. Its behavior depends on the development tool and configuration, so opening a repository does not always mean the command will run automatically.

This setting matters because it can turn repository configuration into executable code. A malicious or unsafe command could run inside the developer environment, potentially accessing files, credentials, or network resources available there. Before using an unfamiliar project, inspect its dev-container configuration and setup commands, and run it in an isolated environment with only the permissions and secrets it needs.

← WIKICROOK index