Sign inSign up

filesysorg/jfileserver

By filesysorg

•Updated almost 2 years ago

JFileServer java file server with SMB/CIFS, FTP/FTPS and NFS support

Image
1

2.3K

filesysorg/jfileserver repository overview

JFileServer java file server provides support for SMB/CIFS, FTP/FTPS and NFS file server protocols with support for virtual filesystems and database filesystems.

This image uses the Java NIO filesystem driver to map a shared drive to a local folder which can be accessed using an SMB/CIFS client, by mapping a network drive from the client.

The default share name is 'jfileshare' with a default user of 'jfilesrv' using password 'java'.

The JFileServer SMB server is configured to use the standard ports for the SMB server (445, 137-139). On linux, Mac, unix systems you can map the SMB file server to the host so it will be accessible remotely, using the command :-

docker run filesysorg/jfileserver -p 445:445

On Windows you will need to setup a network route to the JFileServer container :-

  1. Get the Docker VM IP address using 'docker-machine ip default'
  2. Start the JFileServer container without a port mapping using 'docker run filesysorg/jfileserver'
  3. Get the IP address of the JFileServer container using 'docker inspect | findstr IPAddress'
  4. Add network routing to the JFileServer container 'route add /P MASK 255.0.0.0 . For example if the container IP address is 172.17.0.2 and the Docker machine IP is 192.168.99.100 the routing command would be 'route add /P 172.0.0.0 MASK 255.0.0.0 192.168.99.100'
  5. Map a network drive from the Windows host using a UNC path of '\\jfileshare' using user 'jfilesrv' with password 'java'.

The configuration and various paths can be mapped to host paths using the -v command line switch. The default paths are :-

Configuration file - /jfileserver/fileSrvConfig.xml

Default local shared folder - /jfileserver/fileShare/

Logs folder - /jfileserver/logs/

To redirect the default shared folder to a host folder you would use '-v <local_path>:/jfileserver/fileShare/'. To redirect the log file to a host folder you would use '-v <local_path>:/jfileserver/logs', the default log file name is 'jfileserver.log'.

On Windows the default Docker setup only allows host paths within the \Users folder so to redirect the logs folder to a host path you would use '-v "/c/Users//logs:/jfileserver/logs"'. The log file 'jfileserver.log' should appear within the hosts logs\ folder as the JFileServer starts up.

For more information and the latest news about JFileServer see http://www.filesys.org⁠. More documentation is available on the FileSys.Org Wiki at http://www.filesys.org/wiki/⁠.

Tag summary

Content type

Image

Digest

sha256:dc5953bff…

Size

162.3 MB

Last updated

almost 2 years ago

docker pull filesysorg/jfileserver