Dockerfile fix HEALTHCHECK #154
This commit is contained in:
parent
c742b3d449
commit
512df7ff2b
@ -43,7 +43,7 @@ COPY samba.sh /usr/bin/
|
|||||||
EXPOSE 137/udp 138/udp 139 445
|
EXPOSE 137/udp 138/udp 139 445
|
||||||
|
|
||||||
HEALTHCHECK --interval=60s --timeout=15s \
|
HEALTHCHECK --interval=60s --timeout=15s \
|
||||||
CMD smbclient -L '\\localhost\' -U 'guest%' -m SMB3
|
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
||||||
|
|
||||||
VOLUME ["/etc/samba"]
|
VOLUME ["/etc/samba"]
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ COPY samba.sh /usr/bin/
|
|||||||
EXPOSE 137/udp 138/udp 139 445
|
EXPOSE 137/udp 138/udp 139 445
|
||||||
|
|
||||||
HEALTHCHECK --interval=60s --timeout=15s \
|
HEALTHCHECK --interval=60s --timeout=15s \
|
||||||
CMD smbclient -L '\\localhost\' -U 'guest%' -m SMB3
|
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
||||||
|
|
||||||
VOLUME ["/etc/samba"]
|
VOLUME ["/etc/samba"]
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ COPY samba.sh /usr/bin/
|
|||||||
EXPOSE 137/udp 138/udp 139 445
|
EXPOSE 137/udp 138/udp 139 445
|
||||||
|
|
||||||
HEALTHCHECK --interval=60s --timeout=15s \
|
HEALTHCHECK --interval=60s --timeout=15s \
|
||||||
CMD smbclient -L '\\localhost\' -U 'guest%' -m SMB3
|
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
||||||
|
|
||||||
VOLUME ["/etc/samba"]
|
VOLUME ["/etc/samba"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user