These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.6 KiB

  1. # Samba
  2. This is a dockerized version of a samba server.
  3. The official container and documentation was made by [dperson](https://hub.docker.com/r/samba).
  4. ## Volumes
  5. Set the following volumes with the -v tag.
  6. | Volume-Name | Container mount | Description |
  7. | ---------------- | --------------- | ------------------------------ |
  8. | samba_nas | /nas | storage for samba data |
  9. | samba_lib | /var/lib/samba | storage for samba lib |
  10. | samba_cache | /var/cache/samba | storage for samba cache |
  11. | samba_run | /run/samba | run entries for samba |
  12. | samba_etc | /etc | etc directory of samba server |
  13. | samba_log | /var/log/samba | storage for samba logs |
  14. ## Ports
  15. Set the following ports with the -p tag.
  16. | Container Port | Recommended outside port | Protocol | Description |
  17. | -------------- | ------------------------ | -------- | -------------- |
  18. | 139 | 139 | TCP | Samba internal |
  19. | 445 | 445 | TCP | Samba internal |
  20. ##Additional
  21. There are some special variables to set.
  22. | Flag | Usage |
  23. | --------------------------------------------------------------------- | ---------------- |
  24. | -u <username;password>(;ID;group;GID) | define user |
  25. | -w <workgroup> | define workgroup |
  26. | -s <name;path>(;browse;readonly;guest;users;admins;writelist;comment) | define shares |