I am using the postCreateCommand in a devcontainer.json and would like to suppress the notice that lists the command(s) being executed post container creation. When opening the development container using the devcontainer.json VsCode shows a notice indicating that the command has been run and shows the output. The user must then press any key.
Asked
Active
Viewed 203 times
2
-
Assuming the extension does something similar to the CLI (Not sure if it's using that code). You can try to disable all output on your post command. Or change the extension log level in settings. https://github.com/devcontainers/cli/blob/main/src/spec-shutdown/dockerUtils.ts#L345 – Tamir Daniely Oct 12 '22 at 22:16
-
Did you find an answer to that? I am stuck on it for several days... – Nicolaz Feb 09 '23 at 08:31