hub.docker.com now builds images from git tags.

pull/11/head
Sameer Naik 2015-11-07 11:59:11 +05:30
parent 1dd54a8445
commit 5051c68bad
5 changed files with 13 additions and 11 deletions

View File

@ -1,4 +1,4 @@
FROM quay.io/sameersbn/ubuntu:14.04.20151023 FROM sameersbn/ubuntu:14.04.20151023
MAINTAINER sameer@damagehead.com MAINTAINER sameer@damagehead.com
ENV DATA_DIR=/data \ ENV DATA_DIR=/data \

View File

@ -1,4 +1,4 @@
all: build all: build
build: build:
@docker build --tag=quay.io/sameersbn/bind . @docker build --tag=sameersbn/bind .

View File

@ -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) [![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) - [Introduction](#introduction)
- [Contributing](#contributing) - [Contributing](#contributing)
@ -44,10 +44,12 @@ If the above recommendations do not help then [report your issue](../../issues/n
## Installation ## 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 ```bash
docker pull quay.io/sameersbn/bind:latest docker pull sameersbn/bind:latest
``` ```
Alternatively you can build the image yourself. Alternatively you can build the image yourself.
@ -66,7 +68,7 @@ Start BIND using:
docker run --name bind -d --restart=always \ docker run --name bind -d --restart=always \
--publish 53:53/udp --publish 10000:10000 \ --publish 53:53/udp --publish 10000:10000 \
--volume /srv/docker/bind:/data \ --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/)* *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 \ docker run --name bind -it --rm \
--publish 53:53/udp --publish 10000:10000 \ --publish 53:53/udp --publish 10000:10000 \
--volume /srv/docker/bind:/data \ --volume /srv/docker/bind:/data \
quay.io/sameersbn/bind:latest -h sameersbn/bind:latest -h
``` ```
## Persistence ## Persistence
@ -110,7 +112,7 @@ To upgrade to newer releases:
1. Download the updated Docker image: 1. Download the updated Docker image:
```bash ```bash
docker pull quay.io/sameersbn/bind:latest docker pull sameersbn/bind:latest
``` ```
2. Stop the currently running image: 2. Stop the currently running image:
@ -130,7 +132,7 @@ To upgrade to newer releases:
```bash ```bash
docker run -name bind -d \ docker run -name bind -d \
[OPTIONS] \ [OPTIONS] \
quay.io/sameersbn/bind:latest sameersbn/bind:latest
``` ```
## Shell Access ## Shell Access

View File

@ -1,5 +1,5 @@
Bind: Bind:
image: quay.io/sameersbn/bind:latest image: sameersbn/bind:latest
ports: ports:
- "53:53/udp" - "53:53/udp"
volumes: volumes:

View File

@ -7,7 +7,7 @@ metadata:
spec: spec:
containers: containers:
- name: bind - name: bind
image: quay.io/sameersbn/bind image: sameersbn/bind
env: env:
- name: WEBMIN_ENABLED - name: WEBMIN_ENABLED
value: false value: false