Skip to content

Commit

Permalink
release 4.0.9-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Jul 28, 2018
1 parent 015eb37 commit 44eb4c2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,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/redis)
```bash
docker pull sameersbn/redis:4.0.9
docker pull sameersbn/redis:4.0.9-1
```

Alternatively you can build the image yourself.
Expand All @@ -68,7 +68,7 @@ Start Redis using:
docker run --name redis -d --restart=always \
--publish 6379:6379 \
--volume /srv/docker/redis:/var/lib/redis \
sameersbn/redis:4.0.9
sameersbn/redis:4.0.9-1
```

*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/)*
Expand All @@ -81,7 +81,7 @@ You can customize the launch command of Redis server by specifying arguments to
docker run --name redis -d --restart=always \
--publish 6379:6379 \
--volume /srv/docker/redis:/var/lib/redis \
sameersbn/redis:4.0.9 --appendonly yes
sameersbn/redis:4.0.9-1 --appendonly yes
```

Please refer to http://redis.io/topics/config for further details.
Expand All @@ -108,7 +108,7 @@ docker run --name redis -d --restart=always \
--publish 6379:6379 \
--env 'REDIS_PASSWORD=redispassword' \
--volume /srv/docker/redis:/var/lib/redis \
sameersbn/redis:4.0.9
sameersbn/redis:4.0.9-1
```

Clients connecting to the Redis server will now have to authenticate themselves with the password `redispassword`.
Expand All @@ -123,7 +123,7 @@ By default the Redis server logs are sent to the standard output. Using the [Com
docker run --name redis -d --restart=always \
--publish 6379:6379 \
--volume /srv/docker/redis:/var/lib/redis \
sameersbn/redis:4.0.9 --logfile /var/log/redis/redis-server.log
sameersbn/redis:4.0.9-1 --logfile /var/log/redis/redis-server.log
```

To access the Redis logs you can use `docker exec`. For example:
Expand All @@ -141,7 +141,7 @@ To upgrade to newer releases:
1. Download the updated Docker image:

```bash
docker pull sameersbn/redis:4.0.9
docker pull sameersbn/redis:4.0.9-1
```

2. Stop the currently running image:
Expand All @@ -161,7 +161,7 @@ To upgrade to newer releases:
```bash
docker run --name redis -d \
[OPTIONS] \
sameersbn/redis:4.0.9
sameersbn/redis:4.0.9-1
```

## Shell Access
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.9
4.0.9-1
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Redis:
image: sameersbn/redis:4.0.9
image: sameersbn/redis:4.0.9-1
ports:
- "6379:6379"
volumes:
Expand Down

0 comments on commit 44eb4c2

Please sign in to comment.