Samba DC health check for SMB and mainly RPC port 135 that periodically fails to respond
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -35,4 +35,6 @@ RUN apk add --update --no-cache krb5 ldb-tools samba-dc=$SAMBA_VERSION tdb \
|
||||
VOLUME /etc/samba /var/lib/samba
|
||||
EXPOSE 53 53/udp 88 88/udp 135 137-138/udp 139 389 389/udp 445 464 464/udp 636 3268-3269 49152-65535
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=10s CMD (smbclient -L \\localhost -U % -m SMB3 && netstat -ltn | grep -c 135) || exit 1
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user