Skip to content

Commit

Permalink
4.0.9-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Jan 13, 2019
1 parent 736d66a commit 0c98824
Showing 1 changed file with 7 additions and 7 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-1
docker pull sameersbn/redis:4.0.9-2
```

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-1
sameersbn/redis:4.0.9-2
```

*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-1 --appendonly yes
sameersbn/redis:4.0.9-2 --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-1
sameersbn/redis:4.0.9-2
```

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-1 --logfile /var/log/redis/redis-server.log
sameersbn/redis:4.0.9-2 --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-1
docker pull sameersbn/redis:4.0.9-2
```

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-1
sameersbn/redis:4.0.9-2
```

## Shell Access
Expand Down

0 comments on commit 0c98824

Please sign in to comment.