generated from tomblancdev/python-devcontainer
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
**Workspace is not set as a safe directory **
When initalizing container we get :
Running the postCreateCommand from devcontainer.json...
[24932 ms] Start: Run in container: /bin/sh -c bash /workspace/.devcontainer/scripts/post-create.sh
Runing post-create.sh
Adding git template remote
fatal: detected dubious ownership in repository at '/workspace'
To add an exception for this directory, call:
git config --global --add safe.directory /workspace
fatal: detected dubious ownership in repository at '/workspace'
To add an exception for this directory, call:
git config --global --add safe.directory /workspace
Running the postStartCommand from devcontainer.json...To Reproduce
Steps to reproduce the behavior:
- Create repository based on this template
- Clone your repository
- Reopen in devcontainer
Expected behavior
Expected to trust workspace automatically.
Desktop (please complete the following information):
- OS: debian11
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
