Dockerfile/README.md clarify the NMBD configuration

This commit is contained in:
David Personette 2016-10-20 10:14:25 -04:00
parent ec6a7cf7b3
commit 778e3e51d7
2 changed files with 2 additions and 2 deletions

View File

@ -28,6 +28,6 @@ COPY samba.sh /usr/bin/
VOLUME ["/etc/samba"] VOLUME ["/etc/samba"]
EXPOSE 137 139 445 EXPOSE 137/udp 138/udp 139 445
ENTRYPOINT ["samba.sh"] ENTRYPOINT ["samba.sh"]

View File

@ -64,7 +64,7 @@ ENVIRONMENT VARIABLES (only available with `docker run`)
* `WORKGROUP` - As above, set workgroup * `WORKGROUP` - As above, set workgroup
**NOTE**: if you enable nmbd (via `-n` or the `NMBD` environment variable), you **NOTE**: if you enable nmbd (via `-n` or the `NMBD` environment variable), you
will also want to expose port 137 with `-p 137:137`. will also want to expose port 137 and 138 with `-p 137:137/udp -p 138:138/udp`.
## Examples ## Examples