Hi @kim.aptum
What extension and what configuration do you have for VSCode to connect to your devkinsta_fpm container? Perhaps it’s missing a username setting?
In general, to do things as the user in the container interactively from a Command Prompt, you’d do something similar to this:
Another thing to check here is that if you’re getting prompted for FTP credentials when updating a plugin or installing one, you could use this in wp-config.php:
define('FS_METHOD', 'direct');
Otherwise, the easiest solution is to do a recursive chown (-R
) to www-data:www-data
without supplying the -u
option to Docker, as you have been.
Let me know if this helps