Azure / caf-terraform-landingzones-accelerator

Starter project for Applications (level 4) Cloud Adoption Framework for Azure landing zones on Terraform
MIT License
205 stars 233 forks source link

When tried to open repo in container, it failed with exit code 1: postCreateCommand failed. #106

Closed jamesyoung007 closed 2 years ago

jamesyoung007 commented 2 years ago

Running the postCreateCommand from devcontainer.json...

[661679 ms] Start: Run in container: /bin/sh -c sudo cp -R /tmp/.ssh-localhost/ ~/.ssh && sudo chown -R $(whoami):$(whoami) /tf/caf && sudo chmod 400 ~/.ssh/ && git config --global core.editor vi && pre-commit install && pre-commit autoupdate cp: cannot stat '/tmp/.ssh-localhost/*': No such file or directory [665023 ms] postCreateCommand failed with exit code 1. Skipping any further user-provided commands.

dsfrederic commented 2 years ago

@jamesyoung007 same issue here. How did you resolve the problem?