File Server into container LXC

Wesley Garcia

Renowned Member
May 27, 2017
2
0
66
44
Is there a problem in creating a file server inside a container, so that the files (xml, doc etc) are inside the file structure of the own container (/ storage)?
sorry the English
 
Guletz,

The file server files are either mounted in a directory or are part of the
container's own file system ?
 
Any regular user space file server should run fine, be it samba, ftp, web based (apache/nginx) or something else. It doesn't really matter where or how the files are stored, though I generally do recommend separating the system partition from the data partition because it makes it easier to backup the data without having to backup the entire system. (I like replaceable system disks ;-) )

(I don't recommend running NFS inside a container, though, as it really needs a lot of tweaking to basically remove most of the security mechanisms.)