Siyali Gupta started this conversation 9 months ago.
"How can I use atmoz/sftp to manage a volume used by another container in Docker?"
Docker: Use atmoz/sftp to manage a volume used by other container
codecool
Posted 9 months ago
To use atmoz/sftp to manage a volume shared with another Docker container, follow these high-level steps:
Directory Setup: Organize the directory structure on your host machine for the SFTP users.
SFTP Server Deployment: Pull the atmoz/sftp Docker image and run it, ensuring to map the host directories.
Volume Sharing: Use the --volumes-from option when running another container to share the volume between the two containers.
Testing: Verify the setup by connecting to the SFTP server using an SFTP client to confirm the functionality.
These steps will help you integrate atmoz/sftp with other Docker containers for effective volume management.