release 9.16.1-20200524
parent
a4cd971267
commit
47e56d007d
|
@ -217,12 +217,11 @@ jobs:
|
||||||
- checkout
|
- checkout
|
||||||
- docker-load
|
- docker-load
|
||||||
- run:
|
- run:
|
||||||
name: Update tag in docker-compose.yml
|
name: Create test network
|
||||||
command: |
|
command: docker network create testnet
|
||||||
sed -i "s|image: sameersbn/bind:.*|image: sameersbn/bind:${CIRCLE_TAG:-latest}|" docker-compose.yml
|
|
||||||
- run:
|
- run:
|
||||||
name: Launch bind container
|
name: Launch bind container
|
||||||
command: docker-compose up -d --quiet-pull
|
command: docker run --name bind -d --net testnet sameersbn/bind:${CIRCLE_TAG:-latest}
|
||||||
- run:
|
- run:
|
||||||
name: Wait for bootup
|
name: Wait for bootup
|
||||||
command: sleep 15
|
command: sleep 15
|
||||||
|
@ -232,8 +231,7 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Test image
|
name: Test image
|
||||||
command: |
|
command: |
|
||||||
docker run --network bind-server:$(docker-compose ps -q bind) \
|
docker run --rm --net testnet sameersbn/bind:${CIRCLE_TAG:-latest} host www.google.com bind
|
||||||
sameersbn/bind:${CIRCLE_TAG:-latest} host www.google.com bind-server
|
|
||||||
|
|
||||||
publish-dockerhub:
|
publish-dockerhub:
|
||||||
executor: docker/machine
|
executor: docker/machine
|
||||||
|
|
12
README.md
12
README.md
|
@ -1,6 +1,6 @@
|
||||||
[](https://circleci.com/gh/sameersbn/docker-bind) [](https://quay.io/repository/sameersbn/bind)
|
[](https://circleci.com/gh/sameersbn/docker-bind) [](https://quay.io/repository/sameersbn/bind)
|
||||||
|
|
||||||
# sameersbn/bind:9.11.3-20200507
|
# sameersbn/bind:9.16.1-20200524
|
||||||
|
|
||||||
- [Introduction](#introduction)
|
- [Introduction](#introduction)
|
||||||
- [Contributing](#contributing)
|
- [Contributing](#contributing)
|
||||||
|
@ -49,7 +49,7 @@ Automated builds of the image are available on [Dockerhub](https://hub.docker.co
|
||||||
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/bind)
|
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/bind)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker pull sameersbn/bind:9.11.3-20200507
|
docker pull sameersbn/bind:9.16.1-20200524
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively you can build the image yourself.
|
Alternatively you can build the image yourself.
|
||||||
|
@ -66,7 +66,7 @@ Start BIND using:
|
||||||
docker run --name bind -d --restart=always \
|
docker run --name bind -d --restart=always \
|
||||||
--publish 53:53/tcp --publish 53:53/udp --publish 10000:10000/tcp \
|
--publish 53:53/tcp --publish 53:53/udp --publish 10000:10000/tcp \
|
||||||
--volume /srv/docker/bind:/data \
|
--volume /srv/docker/bind:/data \
|
||||||
sameersbn/bind:9.11.3-20200507
|
sameersbn/bind:9.16.1-20200524
|
||||||
```
|
```
|
||||||
|
|
||||||
*Alternatively, you can use the sample [docker-compose.yml](docker-compose.yml) file to start the container using [Docker Compose](https://docs.docker.com/compose/)*
|
*Alternatively, you can use the sample [docker-compose.yml](docker-compose.yml) file to start the container using [Docker Compose](https://docs.docker.com/compose/)*
|
||||||
|
@ -85,7 +85,7 @@ You can customize the launch command of BIND server by specifying arguments to `
|
||||||
docker run --name bind -it --rm \
|
docker run --name bind -it --rm \
|
||||||
--publish 53:53/tcp --publish 53:53/udp --publish 10000:10000/tcp \
|
--publish 53:53/tcp --publish 53:53/udp --publish 10000:10000/tcp \
|
||||||
--volume /srv/docker/bind:/data \
|
--volume /srv/docker/bind:/data \
|
||||||
sameersbn/bind:9.11.3-20200507 -h
|
sameersbn/bind:9.16.1-20200524 -h
|
||||||
```
|
```
|
||||||
|
|
||||||
## Persistence
|
## Persistence
|
||||||
|
@ -124,7 +124,7 @@ To upgrade to newer releases:
|
||||||
1. Download the updated Docker image:
|
1. Download the updated Docker image:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker pull sameersbn/bind:9.11.3-20200507
|
docker pull sameersbn/bind:9.16.1-20200524
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Stop the currently running image:
|
2. Stop the currently running image:
|
||||||
|
@ -144,7 +144,7 @@ To upgrade to newer releases:
|
||||||
```bash
|
```bash
|
||||||
docker run -name bind -d \
|
docker run -name bind -d \
|
||||||
[OPTIONS] \
|
[OPTIONS] \
|
||||||
sameersbn/bind:9.11.3-20200507
|
sameersbn/bind:9.16.1-20200524
|
||||||
```
|
```
|
||||||
|
|
||||||
## Shell Access
|
## Shell Access
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: '2'
|
||||||
services:
|
services:
|
||||||
bind:
|
bind:
|
||||||
restart: always
|
restart: always
|
||||||
image: sameersbn/bind:9.11.3-20200507
|
image: sameersbn/bind:9.16.1-20200524
|
||||||
ports:
|
ports:
|
||||||
- "53:53/udp"
|
- "53:53/udp"
|
||||||
- "53:53/tcp"
|
- "53:53/tcp"
|
||||||
|
|
Loading…
Reference in New Issue