hub.docker.com now builds images from git tags.
parent
1dd54a8445
commit
5051c68bad
|
@ -1,4 +1,4 @@
|
|||
FROM quay.io/sameersbn/ubuntu:14.04.20151023
|
||||
FROM sameersbn/ubuntu:14.04.20151023
|
||||
MAINTAINER sameer@damagehead.com
|
||||
|
||||
ENV DATA_DIR=/data \
|
||||
|
|
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
|||
all: build
|
||||
|
||||
build:
|
||||
@docker build --tag=quay.io/sameersbn/bind .
|
||||
@docker build --tag=sameersbn/bind .
|
||||
|
|
16
README.md
16
README.md
|
@ -1,6 +1,6 @@
|
|||
[![Circle CI](https://circleci.com/gh/sameersbn/docker-bind.svg?style=shield)](https://circleci.com/gh/sameersbn/docker-bind) [![Docker Repository on Quay.io](https://quay.io/repository/sameersbn/bind/status "Docker Repository on Quay.io")](https://quay.io/repository/sameersbn/bind)
|
||||
|
||||
# quay.io/sameersbn/bind:latest
|
||||
# sameersbn/bind:latest
|
||||
|
||||
- [Introduction](#introduction)
|
||||
- [Contributing](#contributing)
|
||||
|
@ -44,10 +44,12 @@ If the above recommendations do not help then [report your issue](../../issues/n
|
|||
|
||||
## Installation
|
||||
|
||||
Automated builds of the image are available on [Quay.io](https://quay.io/repository/sameersbn/bind) and is the recommended method of installation.
|
||||
Automated builds of the image are available on [Dockerhub](https://hub.docker.com/r/sameersbn/bind) and is the recommended method of installation.
|
||||
|
||||
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/bind)
|
||||
|
||||
```bash
|
||||
docker pull quay.io/sameersbn/bind:latest
|
||||
docker pull sameersbn/bind:latest
|
||||
```
|
||||
|
||||
Alternatively you can build the image yourself.
|
||||
|
@ -66,7 +68,7 @@ Start BIND using:
|
|||
docker run --name bind -d --restart=always \
|
||||
--publish 53:53/udp --publish 10000:10000 \
|
||||
--volume /srv/docker/bind:/data \
|
||||
quay.io/sameersbn/bind:latest
|
||||
sameersbn/bind:latest
|
||||
```
|
||||
|
||||
*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 +87,7 @@ You can customize the launch command of BIND server by specifying arguments to `
|
|||
docker run --name bind -it --rm \
|
||||
--publish 53:53/udp --publish 10000:10000 \
|
||||
--volume /srv/docker/bind:/data \
|
||||
quay.io/sameersbn/bind:latest -h
|
||||
sameersbn/bind:latest -h
|
||||
```
|
||||
|
||||
## Persistence
|
||||
|
@ -110,7 +112,7 @@ To upgrade to newer releases:
|
|||
1. Download the updated Docker image:
|
||||
|
||||
```bash
|
||||
docker pull quay.io/sameersbn/bind:latest
|
||||
docker pull sameersbn/bind:latest
|
||||
```
|
||||
|
||||
2. Stop the currently running image:
|
||||
|
@ -130,7 +132,7 @@ To upgrade to newer releases:
|
|||
```bash
|
||||
docker run -name bind -d \
|
||||
[OPTIONS] \
|
||||
quay.io/sameersbn/bind:latest
|
||||
sameersbn/bind:latest
|
||||
```
|
||||
|
||||
## Shell Access
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Bind:
|
||||
image: quay.io/sameersbn/bind:latest
|
||||
image: sameersbn/bind:latest
|
||||
ports:
|
||||
- "53:53/udp"
|
||||
volumes:
|
||||
|
|
|
@ -7,7 +7,7 @@ metadata:
|
|||
spec:
|
||||
containers:
|
||||
- name: bind
|
||||
image: quay.io/sameersbn/bind
|
||||
image: sameersbn/bind
|
||||
env:
|
||||
- name: WEBMIN_ENABLED
|
||||
value: false
|
||||
|
|
Loading…
Reference in New Issue