美文网首页
使用Docker搭建SAMBA

使用Docker搭建SAMBA

作者: 我阿霆哥 | 来源:发表于2019-04-30 19:23 被阅读0次

    转自我的博客:

    使用Docker搭建SAMBA - sleele的博客

    本文根据dperson/sambad搭建

    更多具体设置请参照https://github.com/dperson/samba

    -u “user;password” 的引号内容换成自己的用户密码,多用户就多 -u

    docker run -it --name samba -p 445:445 -v /root/downloads:/mount -d dperson/samba -u "user;password" -s "Downloads;/mount/;yes;no;no;all;user"

    划线部分设置请参照

    -s "<name;/path>[;browse;readonly;guest;users;admins;writelist;comment]"               Configure a share               required arg: "<name>;</path>"               <name> is how it's called for clients               <path> path to share               NOTE: for the default values, just leave blank               [browsable] default:'yes' or 'no'               [readonly] default:'yes' or 'no'               [guest] allowed default:'yes' or 'no'               [users] allowed default:'all' or list of allowed users               [admins] allowed default:'none' or list of admin users               [writelist] list of users that can write to a RO share               [comment] description of share

    相关文章

      网友评论

          本文标题:使用Docker搭建SAMBA

          本文链接:https://www.haomeiwen.com/subject/viqbnqtx.html