> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/andoid-shou-ji/pomoxve/lxc-+-docker-samba-fu-wu-ce-shi.md).

# lxc + docker samba服務測試

```
docker run -it --name samba -p 139:139 -p 445:445 -v /tmp:/share -d dperson/samba -u "kawsing;pass" -s "public;/share;yes;no;no;kawsing;kawsing;;describe"
```

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-LxZHrGbgJCx7xn2LzS0%2F-Lx_Cph8PTXVHRVQlczm%2Fimage.png?alt=media\&token=3cddd327-ef30-476f-bce5-dc03ff29d36c)

```
mount -t cifs //10.99.0.1/public /root/smb -o username="kawsing",password="pass"
```

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-LxZHrGbgJCx7xn2LzS0%2F-Lx_DI93oEBkeLJXEn2W%2Fimage.png?alt=media\&token=a99497f7-1ae8-4218-b0a9-410727d8cfeb)
