diff --git a/README.md b/README.md index 0cd83e1..c2b0545 100644 --- a/README.md +++ b/README.md @@ -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:3.0.6 +docker pull sameersbn/redis:4.0.9 ``` Alternatively you can build the image yourself. @@ -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:3.0.6 + sameersbn/redis:4.0.9 ``` *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/)* @@ -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:3.0.6 --appendonly yes + sameersbn/redis:4.0.9 --appendonly yes ``` Please refer to http://redis.io/topics/config for further details. @@ -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:3.0.6 + sameersbn/redis:4.0.9 ``` Clients connecting to the Redis server will now have to authenticate themselves with the password `redispassword`. @@ -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:3.0.6 --logfile /var/log/redis/redis-server.log + sameersbn/redis:4.0.9 --logfile /var/log/redis/redis-server.log ``` To access the Redis logs you can use `docker exec`. For example: @@ -141,7 +141,7 @@ To upgrade to newer releases: 1. Download the updated Docker image: ```bash - docker pull sameersbn/redis:3.0.6 + docker pull sameersbn/redis:4.0.9 ``` 2. Stop the currently running image: @@ -161,7 +161,7 @@ To upgrade to newer releases: ```bash docker run --name redis -d \ [OPTIONS] \ - sameersbn/redis:3.0.6 + sameersbn/redis:4.0.9 ``` ## Shell Access diff --git a/VERSION b/VERSION index 818bd47..7919852 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.0.6 +4.0.9 diff --git a/docker-compose.yml b/docker-compose.yml index d976a10..15c4bee 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ Redis: - image: sameersbn/redis:3.0.6 + image: sameersbn/redis:4.0.9 ports: - "6379:6379" volumes: