Closed dsyer closed 12 months ago
Could you share a bit more about the issue you see? Because I can't reproduce and I don't understand how that's possible since the host .gradle
directory is not expected to be mounted by run-dev-container.sh
. I see that #23 seems to bind .gradle
so maybe double check this is not the reason (and if it is, it should be probably fixed as part of the PR).
Sorry, yes. I got into a mess with #23. I copied the volume mounts from PetClinic but that one doesn’t run as root so it’s OK. Do we have to run as root here?
To create the checkpoint I suspect we need to, restore should be possible with relevant capabilities. Worth to double check in any case.
It would be fine to install and use sudo IMO. That’s what the Microsoft devcontainer images do.
Running the project in a container using
run-dev-container.sh
creates files and directories locally with root:root ownership. That then causes havoc when you want to build anything outside the container.