Skip to content

J-Siu/docker_dnsmasq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker - dnsmasq Paypal donate

Table Of Content

Build

git clone https://github.com/J-Siu/docker_dnsmasq.git
cd docker_dnsmasq
docker build -t jsiu/dnsmasq .

Usage

Host Directories and Volume Mapping

Host Inside Container Mapping Required Usage
${DM_CNF} Yes dnsmasq config directory

Run

docker run \
-d \
-v ${DM_CNF}:/etc/dnsmasq.d \
--network=host \
jsiu/dnsmasq

Compose

Get docker-compose template from image:

docker run --rm jsiu/dnsmasq cat /docker-compose.yml > docker-compose.yml
docker run --rm jsiu/dnsmasq cat /env > .env

Fill in .env according to your environment.

docker-compose up

Repository

Contributors

Change Log

  • 2.81-r0
    • dnsmasq version 2.81-r0
  • 2.81-r1
    • dnsmasq version 2.81-r1
  • 2.82-r0
    • Auto update to 2.82-r0
  • 2.83-r0
    • Auto update to 2.83-r0
  • 2.84-r0
    • Auto update to 2.84-r0
  • 2.85-r2
    • Auto update to 2.85-r2
  • 2.86-r2
    • Auto update to 2.86-r2
  • 2.86-r2-p1
    • Add docker push github workflow
  • 2.89-r2
    • Auto update to 2.89-r2
  • 2.89-r5
    • Auto update to 2.89-r5
  • 2.90-r3
    • Auto update to 2.90-r3

License

The MIT License

Copyright (c) 2024

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.