Can I Mount SFTP Storage in Docker Swarm?

November 18, 2025 1 answer
Asked by !!sets intersect
Hey everyone! I recently figured out how to mount an NFS directly to a container (here's the link for reference: https://forums.docker.com/t/how-to-mount-nfs-drive-in-container-simplest-way/46699). I'm now wondering if I can do something similar with SFTP. Is it possible to mount SFTP storage to my Docker Swarm service?

Answers

-not-for-resale
It might not be super efficient, but you could manage the SFTP storage directly on the host and use it as a volume for your container. That way, you avoid complicating things too much!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions