Dockerfile/README.md clarify the NMBD configuration
This commit is contained in:
parent
ec6a7cf7b3
commit
778e3e51d7
@ -28,6 +28,6 @@ COPY samba.sh /usr/bin/
|
||||
|
||||
VOLUME ["/etc/samba"]
|
||||
|
||||
EXPOSE 137 139 445
|
||||
EXPOSE 137/udp 138/udp 139 445
|
||||
|
||||
ENTRYPOINT ["samba.sh"]
|
@ -64,7 +64,7 @@ ENVIRONMENT VARIABLES (only available with `docker run`)
|
||||
* `WORKGROUP` - As above, set workgroup
|
||||
|
||||
**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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user