This server will package the selected folder into a .tar
and to be downloaded into the user PC
This application is to develop to solve the annoying problem of transferring files from the stored data PC to the host PC by plugging USB hard drive. This method is slow and time consuming, besides when transfering large files into the USB hard drives, it will usually slow down to few MB/s
. This application will solve this annoying problem and will constantly stream the data at maximum ethernet speed.
Now you could enjoy fast transfer of large data to your host PC :)
docker run -it --rm -v <DIR_TO_SHARE>:/data timx/tar-server
version: "3"
services:
tarserver:
image: timx/tar-server
ports:
- "3000:3000"
environment:
- DIR_PATH=<DIR_TO_SHARE>
volumes:
- <DIR_TO_SHARE>:<DIR_TO_SHARE>:ro
go build && ./tar-server