Add documentation
This commit is contained in:
parent
55f048d02a
commit
9827225e03
16
README.md
16
README.md
@ -44,6 +44,8 @@ OR set local storage:
|
|||||||
[guest] allowed default:'yes' or 'no'
|
[guest] allowed default:'yes' or 'no'
|
||||||
[users] allowed default:'all' or list of allowed users
|
[users] allowed default:'all' or list of allowed users
|
||||||
[admins] allowed default:'none' or list of admin users
|
[admins] allowed default:'none' or list of admin users
|
||||||
|
-m Enable homedir sharing for users (defined below). Mount your
|
||||||
|
users' homedirs at /home
|
||||||
-t "" Configure timezone
|
-t "" Configure timezone
|
||||||
possible arg: "[timezone]" - zoneinfo timezone for container
|
possible arg: "[timezone]" - zoneinfo timezone for container
|
||||||
-u "<username;password>" Add a user
|
-u "<username;password>" Add a user
|
||||||
@ -95,9 +97,21 @@ Will get you the same settings as
|
|||||||
-s "example1 private;/example1;no;no;no;example1" \
|
-s "example1 private;/example1;no;no;no;example1" \
|
||||||
-s "example2 private;/example2;no;no;no;example2"
|
-s "example2 private;/example2;no;no;no;example2"
|
||||||
|
|
||||||
|
### Sharing home directories
|
||||||
|
|
||||||
|
Ensure that `/home` in the container is mounted to some place where
|
||||||
|
you want your homedirs to live, or the actual homedirs on the local host.
|
||||||
|
|
||||||
|
You will also need to add the UIDs of each user, matching those in `/home/`.
|
||||||
|
|
||||||
|
sudo docker run -it -p 139:139 -p 445:445 -v /home:/home -d dperson/samba \
|
||||||
|
-u "example1;badpass;1000" \
|
||||||
|
-u "example2;badpass;1050" \
|
||||||
|
-m
|
||||||
|
|
||||||
# User Feedback
|
# User Feedback
|
||||||
|
|
||||||
## Issues
|
## Issues
|
||||||
|
|
||||||
If you have any problems with or questions about this image, please contact me
|
If you have any problems with or questions about this image, please contact me
|
||||||
through a [GitHub issue](https://github.com/dperson/samba/issues).
|
through a [GitHub issue](https://github.com/dperson/samba/issues).
|
||||||
|
Loading…
Reference in New Issue
Block a user