Git Product home page Git Product logo

docker-nxfilter's Introduction

nothing

What is NxFadmin?

Project Page
A modern GUI for NxFilter.

What is NxFilter?

Home Page
An easy to use DNS server with configurable filters and user controls.

This image is based on: 1science/java which uses Alpine Linux as a base, and they have slimmed down the Java install footprint on the system.

Supported Tags

  •    [`latest`](https://github.com/packetworks/docker-nxfilter/tree/nxfadmin)
    

Usage:

For a single persistent container:

Create your persistent container:
docker run -it nxfilter-data -p 80:80 -p 53:53/udp packetworks/nxfadmin:latest
-it starts the container in Interactive mode. It's more complicated than that, but the man pages have more info. -p forwards a port into the container. We are specifying two different ports here, one for the Web console, and 53 for DNS. You can disconnect from the interactive container with CTRL-P + CTRL-Q.

For a transient container with a separate data container:

  • WARNING

THIS IS NOT TESTED

  • WARNING

Create your persistent data container with:

docker run -d -v /nxfilter/db --name nxfilter-data --entrypoint /bin/echo busybox nxfilter-data The data container will start in the background because of -d, then exit. This is normal. It will not show up in docker ps, only with docker ps -a because it is not actually running. We specified the volume it will present to other containers with -v. Your NxFilter container will use the volume presented by data container, but data container will not ever run except the second you created it.

Create your transient application container with:

docker run --volumes-from nxfilter-data -p 80:80 -p 53:53/udp --rm packetworks/nxfadmin:latest

This will run the container interactively, with a persistent data volume mounted from the data container. Ports 80 and 53 are forwarded to the container for accessing NxFilter admin interface and for sending DNS queries to it. --rm specifies the container will not persist any changes after stopping. All changes will need to be made in volumes from other containers, or you can mount host directories, or go back to the section labelled single persistent container:

To Do:

  • Create Docker file for both images. Shouldn't be too hard.
  • Set up automated builds of the images. No idea where to start with that one.

docker-nxfilter's People

Contributors

cron410 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.