Closed Boffice closed 5 months ago
Upon thoroughly reviewing your code, I've pinpointed the issue. While using 'nobody' as a user is a wise choice for server security, it's not quite practical for a development environment. I recommend making it an optional setting.
Personally, I prefer having root access on my development machine, but I do appreciate the security benefits of using 'nobody' for cloud production environments.
Hi @Boffice,
Don't you have a way to configure what user vscode should use to access the container? The processes (nginx/php-fpm) are running under the nobody
user, but you can still access the container as root
with docker exec -ti -u root <command>
. I would expect that vscode can do the same.
@TrafeX Hey,
Found solution: https://containers.dev/implementors/json_reference/
Good to hear! Then I close this issue.
Vscode can't create folder while attaching to dev container. Error happens when connecting to container via VScode remote Explorer