Creating copies of client and server machines for testing

I’m new to using Docker.

I’m writing programs to replace some shell scripts that run on two Linux systems. The existing scripts move files around and do some FTPing between the two Linux systems.

I want to use Docker to create clones of the Linux client and server. The server needs vsftpd to be installed on it. I need to use rsync to copy the data from the production machines to the clones created by Docker.

Can Docker do this? Can I login to the clones to see whether the files changed after running the existing script?