Commit fbf7fb87 authored by MarvAmBass's avatar MarvAmBass

fixed reboot loop of container - samba quits after parent process died

parent 8b31215a
......@@ -55,6 +55,7 @@ RUN export samba_version=4.6.2 \
&& make \
&& make install \
\
&& touch /var/locks/registry.tdb \
&& cp examples/smb.conf.default /etc/smb.conf \
&& cd - \
\
......@@ -69,4 +70,4 @@ COPY scripts /usr/local/bin/
HEALTHCHECK CMD ["docker-healthcheck.sh"]
ENTRYPOINT ["entrypoint.sh"]
CMD [ "smbd", "-F", "-S" ]
CMD [ "bash", "-c", "smbd -FS -d 2 < /dev/null" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment