release 9.16.1-20200524
parent
a4cd971267
commit
47e56d007d
|
@ -217,12 +217,11 @@ jobs:
|
|||
- checkout
|
||||
- docker-load
|
||||
- run:
|
||||
name: Update tag in docker-compose.yml
|
||||
command: |
|
||||
sed -i "s|image: sameersbn/bind:.*|image: sameersbn/bind:${CIRCLE_TAG:-latest}|" docker-compose.yml
|
||||
name: Create test network
|
||||
command: docker network create testnet
|
||||
- run:
|
||||
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:
|
||||
name: Wait for bootup
|
||||
command: sleep 15
|
||||
|
@ -232,8 +231,7 @@ jobs:
|
|||
- run:
|
||||
name: Test image
|
||||
command: |
|
||||
docker run --network bind-server:$(docker-compose ps -q bind) \
|
||||
sameersbn/bind:${CIRCLE_TAG:-latest} host www.google.com bind-server
|
||||
docker run --rm --net testnet sameersbn/bind:${CIRCLE_TAG:-latest} host www.google.com bind
|
||||
|
||||
publish-dockerhub:
|
||||
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)
|
||||
|
||||
# sameersbn/bind:9.11.3-20200507
|
||||
# sameersbn/bind:9.16.1-20200524
|
||||
|
||||
- [Introduction](#introduction)
|
||||
- [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)
|
||||
|
||||
```bash
|
||||
docker pull sameersbn/bind:9.11.3-20200507
|
||||
docker pull sameersbn/bind:9.16.1-20200524
|
||||
```
|
||||
|
||||
Alternatively you can build the image yourself.
|
||||
|
@ -66,7 +66,7 @@ Start BIND using:
|
|||
docker run --name bind -d --restart=always \
|
||||
--publish 53:53/tcp --publish 53:53/udp --publish 10000:10000/tcp \
|
||||
--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/)*
|
||||
|
@ -85,7 +85,7 @@ You can customize the launch command of BIND server by specifying arguments to `
|
|||
docker run --name bind -it --rm \
|
||||
--publish 53:53/tcp --publish 53:53/udp --publish 10000:10000/tcp \
|
||||
--volume /srv/docker/bind:/data \
|
||||
sameersbn/bind:9.11.3-20200507 -h
|
||||
sameersbn/bind:9.16.1-20200524 -h
|
||||
```
|
||||
|
||||
## Persistence
|
||||
|
@ -124,7 +124,7 @@ To upgrade to newer releases:
|
|||
1. Download the updated Docker image:
|
||||
|
||||
```bash
|
||||
docker pull sameersbn/bind:9.11.3-20200507
|
||||
docker pull sameersbn/bind:9.16.1-20200524
|
||||
```
|
||||
|
||||
2. Stop the currently running image:
|
||||
|
@ -144,7 +144,7 @@ To upgrade to newer releases:
|
|||
```bash
|
||||
docker run -name bind -d \
|
||||
[OPTIONS] \
|
||||
sameersbn/bind:9.11.3-20200507
|
||||
sameersbn/bind:9.16.1-20200524
|
||||
```
|
||||
|
||||
## Shell Access
|
||||
|
|
|
@ -3,7 +3,7 @@ version: '2'
|
|||
services:
|
||||
bind:
|
||||
restart: always
|
||||
image: sameersbn/bind:9.11.3-20200507
|
||||
image: sameersbn/bind:9.16.1-20200524
|
||||
ports:
|
||||
- "53:53/udp"
|
||||
- "53:53/tcp"
|
||||
|
|
Loading…
Reference in New Issue