Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest will not start #14

Closed
marafa opened this issue Apr 13, 2020 · 4 comments
Closed

latest will not start #14

marafa opened this issue Apr 13, 2020 · 4 comments

Comments

@marafa
Copy link

marafa commented Apr 13, 2020

the latest image will not start. i run it like so (unusual ports as i have other things running on the standard ports)
docker run -dt --name nxfilter -v /opt/nxfilter-base/nxfilter-conf:/nxfilter/conf -v /opt/nxfilter-base/nxfilter-log:/nxfilter/log -v /opt/nxfilter-base/nxfilter-db:/nxfilter/db -p 7180:80 -p 7443:443 -p 53:53/udp -p 19002-19004:19002-19004 --restart always packetworks/nxfilter-base:latest

broke with

Exception in thread "main" java.lang.NullPointerException
        at nxd.Main.<init>(Unknown Source)
        at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
        at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
        at nxd.Main.<init>(Unknown Source)
        at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
        at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
        at nxd.Main.<init>(Unknown Source)
        at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
        at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
        at nxd.Main.<init>(Unknown Source)
        at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
        at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
        at nxd.Main.<init>(Unknown Source)
        at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
        at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
        at nxd.Main.<init>(Unknown Source)
        at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
        at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
        at nxd.Main.<init>(Unknown Source)
        at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
        at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
        at nxd.Main.<init>(Unknown Source)
        at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
        at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
        at nxd.Main.<init>(Unknown Source)
        at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
        at nxd.p.run(Unknown Source)
@marafa
Copy link
Author

marafa commented Apr 13, 2020

rebuilt it locally and got the same error

@marafa
Copy link
Author

marafa commented Apr 13, 2020

the local volume mapping to /nxfilter/conf must be prepopulated before running the container

@cron410
Copy link
Member

cron410 commented May 4, 2020

Yep, @dgibbs64 has included them in his commits. I'll be pulling the fixes in today.

@cron410
Copy link
Member

cron410 commented May 13, 2020

You're right. If you want to use folder bind mounts, you need to copy the contents of your DB etc to that folder. It works great with docker volumes though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants