I’m configuring a server that will host several websites. Each website is stored on a docker volume. I want to give each site owner SFTP access to their web root to upload files. What are the best practices for setting this up? The problem I’m running into is that the volume is owned by root, but for SFTP to work properly the _data file for each volume needs to be set to the client’s user account. Can someone point me to documentation explaining how to setup SFTP access to a docker volume in a secure fashion?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Questiona about SFTP docker? | 6 | 1132 | October 23, 2022 | |
Run docker-compose volume as custom user | 0 | 466 | January 17, 2020 | |
Can I mount a remote sftp file server into a container? | 1 | 5337 | December 23, 2020 | |
The "best" location for Volumes defined on docker-compose file | 8 | 9023 | April 9, 2023 | |
Volume Permissions on Linux Host? | 1 | 2234 | March 18, 2018 |