Local Volume with conf fails entrypoint.sh
Maybe I'm missing something but I'm running a Docker with the instructions:
docker run -dt \
--name nxfilter \
-v nxfilter-conf:/nxfilter/conf \
-v nxfilter-log:/nxfilter/log \
-v nxfilter-db:/nxfilter/db \
-p 80:80 -p 443:443 -p 53:53/udp \
-p 19002-19004:19002-19004 \
packetworks/nxfilter-base:latest
The docker crashes when it tries to "cp -a /nxfilter/conf-default/. /nxfilter/conf/". My work around is to mount it with a modified "conf" folder - copy the files and change the volume. If I run the docker and get a bash prompt, there's no /nxfilter/conf-default loaded. Am I missing something?
Thanks.
p.s. for full clarity I'm running the docker on Synology through the web-gui - I have not tried to compose using an SSH as I am able to launch it successfully with my work around.
Appears NXfilter no longer includes the conf-default directory. The offending lines have been removed from entrypoint.sh and image test passed. Please let me know how it works out for you.
@cron410 This did not seem to fix the issue. Now the conf folder fails to get the files from the zip folder. I'll see if I can reverse engineer what you did here but I hope it's as easy as just copying those files early in the process to the local volume. For now, my work around is to fill the conf file from the zip off the website and the process works. It's bombing with a null error related I must assume to not having files in the local conf folder.
So I just ran your exact Docker Run command on a fresh Ubuntu Docker host and it created it's own config and had no issues. Since I do not have Synology at my disposal, there's not much I can do. I can help flesh out any ideas you have to fix it if that helps, I'm just not very familiar with Synology's version of Docker.
Edit:
Here's a screenshot.
