Skip to content

Commit 5cf7ef2

Browse files
author
Sameer Naik
committed
hub.docker.com now builds images from git tags.
1 parent bda2901 commit 5cf7ef2

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed

Diff for: Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/sameersbn/ubuntu:14.04.20151023
1+
FROM sameersbn/ubuntu:14.04.20151023
22
33

44
ENV REDIS_USER=redis \

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
all: build
22

33
build:
4-
@docker build --tag=quay.io/sameersbn/redis .
4+
@docker build --tag=sameersbn/redis .

Diff for: README.md

+11-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![Circle CI](https://circleci.com/gh/sameersbn/docker-redis.svg?style=shield)](https://circleci.com/gh/sameersbn/docker-redis) [![Docker Repository on Quay.io](https://quay.io/repository/sameersbn/redis/status "Docker Repository on Quay.io")](https://quay.io/repository/sameersbn/redis)
22

3-
# quay.io/sameersbn/redis
3+
# sameersbn/redis
44

55
- [Introduction](#introduction)
66
- [Contributing](#contributing)
@@ -47,10 +47,12 @@ If the above recommendations do not help then [report your issue](../../issues/n
4747

4848
## Installation
4949

50-
Automated builds of the image are available on [Quay.io](https://quay.io/repository/sameersbn/redis) and is the recommended method of installation.
50+
Automated builds of the image are available on [Dockerhub](https://hub.docker.com/r/sameersbn/redis) and is the recommended method of installation.
51+
52+
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/redis)
5153
5254
```bash
53-
docker pull quay.io/sameersbn/redis:latest
55+
docker pull sameersbn/redis:latest
5456
```
5557

5658
Alternatively you can build the image yourself.
@@ -69,7 +71,7 @@ Start Redis using:
6971
docker run --name redis -d --restart=always \
7072
--publish 6379:6379 \
7173
--volume /srv/docker/redis:/var/lib/redis \
72-
quay.io/sameersbn/redis:latest
74+
sameersbn/redis:latest
7375
```
7476

7577
*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/)*
@@ -82,7 +84,7 @@ You can customize the launch command of Redis server by specifying arguments to
8284
docker run --name redis -d --restart=always \
8385
--publish 6379:6379 \
8486
--volume /srv/docker/redis:/var/lib/redis \
85-
quay.io/sameersbn/redis:latest --appendonly yes
87+
sameersbn/redis:latest --appendonly yes
8688
```
8789

8890
Please refer to http://redis.io/topics/config for further details.
@@ -109,7 +111,7 @@ docker run --name redis -d --restart=always \
109111
--publish 6379:6379 \
110112
--env 'REDIS_PASSWORD=redispassword' \
111113
--volume /srv/docker/redis:/var/lib/redis \
112-
quay.io/sameersbn/redis:latest
114+
sameersbn/redis:latest
113115
```
114116

115117
Clients connecting to the Redis server will now have to authenticate themselves with the password `redispassword`.
@@ -124,7 +126,7 @@ By default the Redis server logs are sent to the standard output. Using the [Com
124126
docker run --name redis -d --restart=always \
125127
--publish 6379:6379 \
126128
--volume /srv/docker/redis:/var/lib/redis \
127-
quay.io/sameersbn/redis:latest --logfile /var/log/redis/redis-server.log
129+
sameersbn/redis:latest --logfile /var/log/redis/redis-server.log
128130
```
129131

130132
To access the Redis logs you can use `docker exec`. For example:
@@ -142,7 +144,7 @@ To upgrade to newer releases:
142144
1. Download the updated Docker image:
143145

144146
```bash
145-
docker pull quay.io/sameersbn/redis:latest
147+
docker pull sameersbn/redis:latest
146148
```
147149

148150
2. Stop the currently running image:
@@ -162,7 +164,7 @@ To upgrade to newer releases:
162164
```bash
163165
docker run -name redis -d \
164166
[OPTIONS] \
165-
quay.io/sameersbn/redis:latest
167+
sameersbn/redis:latest
166168
```
167169

168170
## Shell Access

Diff for: docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Redis:
2-
image: quay.io/sameersbn/redis:latest
2+
image: sameersbn/redis:latest
33
ports:
44
- "6379:6379"
55
volumes:

Diff for: kubernetes/pod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
containers:
99
- name: redis
10-
image: quay.io/sameersbn/redis
10+
image: sameersbn/redis
1111
ports:
1212
- containerPort: 6379
1313
protocol: TCP

0 commit comments

Comments
 (0)