Permission denied when trying to access Docker volume mounted to host machine
Hi,
I use WinSCP to connect to an Ubuntu machine running Docker. I would like to use it to access mounted volumes like
1. I had it all sorted out and working but then I upgraded WinSCP version and lost it. No clue what I did to make it work and nothing I do now solves it.
2. I login to WinSCP using the regular user. The docker volumes require SUDO to open.
3. I've seen these posts:
a) https://winscp.net/eng/docs/faq_su
b) https://raspberrypi.stackexchange.com/questions/74011/how-can-i-connect-to-the-sftp-server-with-sudo-via-winscp
c) https://stackoverflow.com/questions/34798936/how-to-run-sudo-command-in-winscp-to-transfer-files-from-windows-to-linux
But none of the solutions worked for me (do not want to try to login as root or remove passwords, etc.)
It seems to me so basic requirement that I wonder what am I missing here that is so obvious :(
Any help will be highly appreciated as current situation slows my work significantly (I need to download files using SSH from the Docker volumes in order to open them locally).
Thanks in advanced!
I use WinSCP to connect to an Ubuntu machine running Docker. I would like to use it to access mounted volumes like
/var/lib/docker/volumes/xyz_capture/_data
1. I had it all sorted out and working but then I upgraded WinSCP version and lost it. No clue what I did to make it work and nothing I do now solves it.
2. I login to WinSCP using the regular user. The docker volumes require SUDO to open.
3. I've seen these posts:
a) https://winscp.net/eng/docs/faq_su
b) https://raspberrypi.stackexchange.com/questions/74011/how-can-i-connect-to-the-sftp-server-with-sudo-via-winscp
c) https://stackoverflow.com/questions/34798936/how-to-run-sudo-command-in-winscp-to-transfer-files-from-windows-to-linux
But none of the solutions worked for me (do not want to try to login as root or remove passwords, etc.)
It seems to me so basic requirement that I wonder what am I missing here that is so obvious :(
Any help will be highly appreciated as current situation slows my work significantly (I need to download files using SSH from the Docker volumes in order to open them locally).
Thanks in advanced!