Skip to content

Local Volume with conf fails entrypoint.sh #20

@jimusik

Description

@jimusik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions